Coder Social home page Coder Social logo

jarmans-website-client's Introduction

How to run the client:

You'll need to update the client.py file global variables with some of your info. To get the basics working here's what i'd suggest:

musicBaseUrl # you'll need an address from dyndns for this to work
clientName # whatever you'd like according to restrictions in the comments
clientAddress = ""  # this will autoconfigure on the server
allowedUser = ""  # this will allow anyone. you can set this to your full gmail address if you'd like to password protect your library libraryLocation 

Then open up a terminal and cd to the directory of client.py and run (in OSX/linux)
> python client.py 80
or in windows:
> client.py 80

Then open up another terminal and cd to the location of your itunes music. I'm hoping/assuming that you have it all consolidating and are allowing itunes to organize it. Anyways, it'll be in a folder like "iTunes Music" under that same directory as the xml file. once there run (again in osx/linux)
> python -m SimpleHTTPServer 81

Both of those commands should say something like "http://0.0.0.0:80/" and just kind of hang out there. If it's throwing errors we'll have to debug them. 

once that's working you should be able to go to "http://localhost/playlists" and see all of your playlists. also on jarmanrogers.com/music you should see your name in the list of libraries.

There are some complexities of firewalls which you'll have to disable for ports 80 and 81 if you have a router. Once these are bypassed, music should be able to stream from jarmanrogers.com

jarmans-website-client's People

Contributors

jarman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.