William-Navey/PiJukeBox
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
*** PRE-REQS *** 1. Ensure java & maven are installed. 2. Create a twitter account, or use an existing, to be used as the "JukeBox" account. You will need to obtain the twitter oath credentails from this account. Modify the file src/main/resoures/twitter_oath_credentials.json with your appropriate oath credentials. Modify the "twitter_handle" value in src/main/resources/jukebox_config.json to your twitter account handle (ex: @MyJukebox) 3. Create a google account, or use an existing. to be used to play the YouTube videos from. You will need to obtain the google oath credentails from this account. Modify the file src/main/resources/google_client_secrets.json with your appropriate credentials. 4. Setup a browser to be able to be properly leveraged by this software. Follow the BROWSER PREREQS steps of a browser of your choice below: BROWSER PREREQS: ----------------------------------- For FIREFOX: 1. Install Firefox 2. install add-block firefox plugin 3. install adobe flash firefox plugin (some youtube videos require flash 4. in Firefox, type "about:config" in url bar, filter with "resume", and change browser.sessionstore.resume_from_crash to false 5. In the src/main/resources/jukebox_config.json, ensure that the browser_path value is accurate For CHROME: I don't know yet, just use firefox :) ----------------------------------- OS REQS: ----------------------------------- Gotta be Windoze for now, sorry. ----------------------------------- *** Tips! *** - Apache's log4j2 is used for logging. Ensure that src/main/resources/log4j2.xml suites your logging preferences. &&& Will's TODO List &&& - Create maven profile to compile jar, add main class in manifest. - Unit tests - Handle multiple youtube links in single tweet - Change TwitterClientProxy to be a singleton