10-15-2013, 12:04 PM | #1 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
pianobar Pandora client
EDIT: latest version attached. Bugmenot has made some cool scripts that show album cover and lyrics. Pianobarfly included to allow saving songs as played. Also includes a script to convert wma to mp3. Also Kual button allows playback using mplayer. /edit
I've been messing around with this for a while. It does kind of work, I can listen to a station directly with auto login. I needed to add a file(libalsa.so) to the root filesystem at /usr/lib/ao/plugins-4/ and make a new file /etc/libao.conf that contains this single line:default_driver=alsa I plan on making it run in kterm so you have more control, also it times out pretty quickly so I need to kill and restart it. Work in progress. There is an option for a non-us proxy in the .config/pianobar/config file. Change the HOME variable to match your setup. Last edited by brianinmaine; 01-23-2015 at 02:20 AM. |
10-15-2013, 12:53 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yeah - I built that before... sadly it is US only.
|
Advert | |
|
10-16-2013, 09:11 AM | #3 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
http://www.instructables.com/id/Linu...adio-pianobar/
says: Make an account on http://www.pandora.com. If you are not in the US you will need to connect through a proxy during the registration process, there's an extension for Chrome and Firefox called media hint (https://mediahint.com/), which will make the process easy. Just install it and browse to Pandora. You will also have to enter a US zip code (any zip code will work...). I've not tried it, just makes sense if you really want Pandora. I totally understand shunning it on principle. Just want to share what I'm working on now. |
10-16-2013, 09:27 AM | #4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Thanks for the info.
Too many hoops for me. Respect for the work mate. |
11-03-2013, 05:17 PM | #5 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
since I'm not having much luck with other projects, I thought maybe I'd close this one.
REQUIRES: kterm to use the KUAL buttons. pianobar is a command line Pandora client pianobarfly is a client that allows recording (only in m4a ??) config files must be edited to allow access, in pianobar/.config/pianobar*/config This package includes mplayer, lame, and faad so I can either listen in m4a format with mplayer, or convert with included script from m4a2mp3 but it takes a LONG TIME to convert. I didn't add a KUAL button for that function. To bad it's US only, as it is a nice way to hear streaming songs. |
Advert | |
|
11-04-2013, 08:36 PM | #6 |
Enthusiast
Posts: 36
Karma: 29456
Join Date: Jun 2013
Device: Kindle Touch 5.3.2.1
|
DUDDEE you are a god! My kindle hacking is now complete. I see no reason why the proxies won't work. Have you tested it? All I have to do is install the extension? I've been trying to find a compatible package on ipkg forever!
|
11-04-2013, 08:39 PM | #7 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
you see. and this is why people should link their apps to the index...
just saying :P |
11-04-2013, 10:40 PM | #8 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
|
11-04-2013, 10:47 PM | #9 | |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
follow the readme in the install directory, as you need to modify some system files to make alsa work right. I don't mind this, you might? edit the config file in extensions/pianobar/.config/pianobar/config with your username and password from pandora.com (I think this is where you need to go in with a proxy first, to create a uname/pass?? I don't need this as I am in the US). try it out. If you can't figure it out, ask for help |
|
11-05-2013, 02:31 AM | #10 |
Enthusiast
Posts: 36
Karma: 29456
Join Date: Jun 2013
Device: Kindle Touch 5.3.2.1
|
It crashes at login... I moved the files as it says in the install readme. I also double checked them with kindle explorer. Bad proxy?
|
11-05-2013, 02:44 AM | #11 | |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
from another website: Listen to Pandora where not available Top | Download | Install/Setup | Pandora One | Pandora anywhere | Usage | Donate Pandora is, at the time of writing this, only available in the USA, Australia and New Zealand. With pianobar it is possible to listen to Pandora from anywhere in the world. Start by making an account at Pandora.com. For the registration process you will need to connect through a proxy, there's an extension for Chrome and Firefox called Media Hint, which will make the process easy. Just install it and browse to Pandora. You will also have to enter a US zip code (any zip code will work...). When you play music with pianobar you need to connect through a proxy server as well, if you don't have one of your own (one option is to get a US based web server and run PHPProxy or CGIProxy) you can check out Hide My Ass or spys.ru for lists of free proxies, and add this line to the pianobar config file (change the numbers to a working proxy server): control_proxy = http://165.225.xxx.xxx:80 |
|
11-05-2013, 05:07 AM | #12 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm... Im pretty sure I also built this thing somewhere/someonce, don't recall it crashing and I am over here in the UK.
I'll grab down Brians and check if you like chr1st0ph3rc? Did you get past the crashing? I didnt have any account details to login with the last time I think. I could try a bit harder if required... |
11-05-2013, 05:32 AM | #13 |
Enthusiast
Posts: 36
Karma: 29456
Join Date: Jun 2013
Device: Kindle Touch 5.3.2.1
|
not sure what you mean "I'll grab down Brians and check if you like chr1st0ph3rc?" but sure!
|
11-05-2013, 05:42 AM | #14 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I will grab down Brians copy here, and check it via a proxy from somewhere other than the USA?
|
11-05-2013, 05:44 AM | #15 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
does it actually crash or does it just fail to login? can you ssh in and try running just extensions/pianobar/pianobar <-actual run script. the other script is just a wrapper for kterm. if you run it in ssh you can get more info. also, if you change the alsa config file to debug instead of quiet, you get tons of alsa messages.
did you reboot after changing system files? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with cross-compiled pianobar | seaniko7 | Kindle Developer's Corner | 5 | 10-30-2014 11:22 PM |
Pianobar for kindle touch | chr1st0ph3rc | Kindle Developer's Corner | 6 | 08-07-2013 01:04 PM |
does anyone use Pandora? | kindlekitten | Lounge | 29 | 12-24-2010 11:09 AM |
Pandora App | Monty | enTourage Archive | 6 | 05-27-2010 12:23 PM |
Classic Pandora outside US | mgmueller | Barnes & Noble NOOK | 0 | 02-10-2010 11:44 AM |