Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2013, 12:04 PM   #1
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
pianobar Pandora client

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.
Attached Files
File Type: zip pianobar.zip (358.6 KB, 35 views)
brianinmaine is offline   Reply With Quote
Old 10-15-2013, 12:53 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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.
twobob is offline   Reply With Quote
 
Enthusiast
Old 10-16-2013, 09:11 AM   #3
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
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.
brianinmaine is offline   Reply With Quote
Old 10-16-2013, 09:27 AM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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.
twobob is offline   Reply With Quote
Old 11-03-2013, 05:17 PM   #5
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
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.
Attached Files
File Type: zip pianobar.zip (4.75 MB, 18 views)
brianinmaine is offline   Reply With Quote
Old 11-04-2013, 08:36 PM   #6
chr1st0ph3rc
The Cult of Skaro
chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.
 
chr1st0ph3rc's Avatar
 
Posts: 35
Karma: 29456
Join Date: Jun 2013
Location: Michigan USA, Taichung Taiwan
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!
chr1st0ph3rc is offline   Reply With Quote
Old 11-04-2013, 08:39 PM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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
twobob is offline   Reply With Quote
Old 11-04-2013, 10:40 PM   #8
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
you see. and this is why people should link their apps to the index...

just saying :P
nag, nag, nag.
brianinmaine is offline   Reply With Quote
Old 11-04-2013, 10:47 PM   #9
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by chr1st0ph3rc View Post
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!
Install the extension. also make sure kterm is installed.

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
brianinmaine is offline   Reply With Quote
Old 11-05-2013, 02:31 AM   #10
chr1st0ph3rc
The Cult of Skaro
chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.
 
chr1st0ph3rc's Avatar
 
Posts: 35
Karma: 29456
Join Date: Jun 2013
Location: Michigan USA, Taichung Taiwan
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?
chr1st0ph3rc is offline   Reply With Quote
Old 11-05-2013, 02:44 AM   #11
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by chr1st0ph3rc View Post
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?
the alsa files are not used until you are logged in, so I would have to assume thats the place to troubleshoot. Did you change the proxy info in the pianobar config file? I'm really not sure about the non US stuff, but there should be some info on Google?

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
brianinmaine is offline   Reply With Quote
Old 11-05-2013, 05:07 AM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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...
twobob is offline   Reply With Quote
Old 11-05-2013, 05:32 AM   #13
chr1st0ph3rc
The Cult of Skaro
chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.chr1st0ph3rc is faster than slow light.
 
chr1st0ph3rc's Avatar
 
Posts: 35
Karma: 29456
Join Date: Jun 2013
Location: Michigan USA, Taichung Taiwan
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!
chr1st0ph3rc is offline   Reply With Quote
Old 11-05-2013, 05:42 AM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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?
twobob is offline   Reply With Quote
Old 11-05-2013, 05:44 AM   #15
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 378
Karma: 1277063
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?
brianinmaine is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pianobar for kindle touch chr1st0ph3rc Kindle Developer's Corner 6 08-07-2013 01:04 PM
Need help with cross-compiled pianobar seaniko7 Kindle Developer's Corner 3 10-23-2011 09:24 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


All times are GMT -4. The time now is 08:04 AM.


MobileRead.com is a privately owned, operated and funded community.