Make-Magazine / PirateRadio

Raspberry Pi Automated FM Radio Script
459 stars 156 forks source link

configparser for Pi/Raspbian #6

Open lanceseidman opened 10 years ago

lanceseidman commented 10 years ago

Hello,

You may want to detect the Python edition, by default the latest on Raspbian, "configparser" for 3.x+ will NOT work, you need to change it to "ConfigParser" for 2.x edition.

Just thought I would mention it.

zerotri commented 10 years ago

I apologize for the delay in updating. Please check the code I just put in the 'unstable' branch. Don't have a Raspberry Pi available to use at the moment, so it was written by testing part of the code on a python instance on my desktop.

lanceseidman commented 10 years ago

Not a problem! I have made some changes myself to work best with my Pi.

Unsure if you'd want it but they're very, very minor (e.g. root dir, etc).

zerotri commented 10 years ago

Feel free to send any changes towards the repository if you think they are features others would enjoy having! If there is anything I disagree with I'll bring it up in a comment on the pull request for further discussion and we can decide best course of action from there. One of these days I'll buy my own Pi to work on this further, as I want to add things like AirPlay support, Bluetooth A2DP streaming, and whatever else I can get away with nicely.

If you ever get around to testing my recent commit, let me know how well it works for you. If not, I'll get it out of unstable someday :smiley:

lanceseidman commented 10 years ago

Sounds good! :)

I will comment the micro changes I did for you to see & also, for what you're talking about, not sure if it would help but PiCAST grabs streams from YouTube video or audio & plays remotely like Chromecast in a sense...

Code is ridiculously simple (web edition a bit tricky for some). Anyhow, I have been implementing this project with a fork of PiCAST for cars.

I won't bore you any further, I will test the new changes & get mine for you to see if its worth your time.

Thanks, Lance