maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Application] Pandora Radio on Harmattan with eAndora (https://talk.maemo.org/showthread.php?t=92372)

Jef91 2014-01-12 21:59

[Application] Pandora Radio on Harmattan with eAndora
 
Spent the better part of the last couple days getting this working for my own use, figured I might as well share. I've compiled the latest Enlightenment Foundation Libraries+Elementary+Python Bindings for Harmattan so I can use my python applications on my Nokia N9.

The first thing I've created a package for is my eAndora Pandora Radio player:

http://i.imgur.com/DTGNc8L.jpg

You can download a tarbal with all of the .debs needed to install eAndora from here. Simply extra the .deb files and then in a terminal navigate to the extracted files and run as root:

Code:

dpkg -i *.deb
apt-get -f install

After those finish you should have a eAndora launcher.

One niggle I haven't worked out yet is getting the on screen keyboard to work with EFL applications. This means you can't log into Pandora using the GUI. Thankfully I'm lazy and store the login in raw text. To login simply create the file ~/.config/eAndora/userinfo

On its first line put the email address you use to log into Pandora. On the second line put your password.

Launch eAndora from the launcher and you should be good to go.

If you know how to call the N9 keyboard or interface with it's audio via python please let me know!

Keyboard Workaround: Even if we can't bring the keyboard up, we CAN enable a long press to paste text into text entry fields. Open the elementary config launcher and select profiles at the top. Under available profiles select mobile and then press the use button at the bottom. This will allow you to long press in any text field to bring up a "paste" option.

http://i.imgur.com/GGDYnH5.png

Cheers,
~Jeff Hoogland

Jef91 2014-01-12 23:42

Re: [Application] Pandora Radio on Harmattan with eAndora
 
One small niggle I've found while using eAndora on Harmattan someone might be able to help with - every time the song changes my volume changes itself from whatever level it was at to the max - any ideas why this might be?

Regards,
~Jeff

DJJonosound 2014-01-18 10:16

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Surprised no one has commented on this... great work, and thanks for keeping on supporting the platform :)

youmeego 2014-01-18 10:25

Re: [Application] Pandora Radio on Harmattan with eAndora
 
will love too see in jolla

justadude 2014-01-19 01:16

I'm surprised as well with the lack of response for this app. I've been disappointed with soundtracker. I would rather have a proper pandora app for the N9.

Jef91 2014-01-21 16:58

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Huh - TMO failed to email me even though I'm subscribed to this thread.

Anywho - glad some other people find it useful. It works fairly well for me. I'm hoping to at the very least find a method to tie eAndora into the N9's native sound system and eventually add rotation support.

In terms of Pandora features I really need to add a option to add variety to a current station. Been missing that one myself.

As for Jolla - Sailfish doesn't seem to run very well on the Nokia N9 so I don't really plan to do anything with that OS.

~Jeff

imaginaryenemy 2014-01-28 18:21

I just got around to installing this. Great work! So far everything is working as expected. Getting the volume bug and a VKB would just be icing on the cake.

Question: why is the desktop file write protected? I can't change it without getting an error.

kapu2 2014-01-29 05:47

sorry to be so noobish, but how do i install this? :o i would love to try it! downloaded the package of debs but trying to opening them in my n9 to install gives me an error.

imaginaryenemy 2014-01-29 06:36

Quote:

Originally Posted by kapu2 (Post 1409533)
sorry to be so noobish, but how do i install this? i would love to try it! downloaded the package of debs but trying to opening them in my n9 to install gives me an error.

You have to dpkg -i them in terminal. The order matters some, also. Trial and error got me through.

Alexxxl 2014-01-29 09:58

Re: [Application] Pandora Radio on Harmattan with eAndora
 
what else python application failed to start on H9 thanks to your work?

justadude 2014-01-30 04:36

Re: [Application] Pandora Radio on Harmattan with eAndora
 
@Jef91,

Any luck on getting the keyboard working yet? Just curious :)

gawga_boy 2014-02-03 20:30

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Nice... liked the pandora app on my N900 and missed it on the N9. Will have to try it out.

Jef91 2014-02-13 23:36

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Huh - TMO is still not sending me notifications when people post on this. Really annoying.

The .desktop file is likely write protected due to a stray permission while packaging things up. Changing the permissions on it shouldn't cause any issues.

Will add install instructions to the first post.

I have been able to find ZERO documentation about interacting with harmattan specific things via python - does anyone know if any exists anywhere? I'd really love to get the keyboard and audio ties working.

One work around for entering text though - if you open the "elementary configuration" launcher and change the "profile" to "mobile" a long press in any text entry field will allow you to paste text into that field. So just write the text you want to enter in another application and then paste it into eAndora.

Have any other questions feel free to ask - will try to remember to check this more often - thanks for pinging me via PM.

DJJonosound 2014-03-21 09:41

Re: [Application] Pandora Radio on Harmattan with eAndora
 
I found out pandora is awesome, desperately trying to get it on my N9 so I can use some of the tons of data I have on my plan. Getting a broken pipe error on install of eandora app, and idea why?
Code:

RM696-21-3:/home/user/MyDocs/Downloads/N9# dpkg -i eandora-n9.deb
aegis-loader: Failed loading policy for 'system-ui-extensions::/opt/system-ui-extensions/bin/reqReboot'
file /var/lib/dpkg/tmp.ci/digsigsums cannot be opened
No digsigsums file
(Reading database ... 76794 files and directories currently installed.)
Unpacking eandora-n9 (from eandora-n9.deb) ...
dpkg: error processing eandora-n9.deb (--install):
 error setting permissions of `./opt/eAndora': Operation not permitted
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe
dpkg-deb: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
 eandora-n9.deb
aegis-NOT-installing eandora-n9 (from '')
aegis-loader: Failed loading policy for 'system-ui-extensions::/opt/system-ui-extensions/bin/reqReboot'
RM696-21-3:/home/user/MyDocs/Downloads/N9#


imaginaryenemy 2014-03-21 15:17

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Quote:

Originally Posted by DJJonosound (Post 1417937)
I found out pandora is awesome, desperately trying to get it on my N9 so I can use some of the tons of data I have on my plan. Getting a broken pipe error on install of eandora app, and idea why?

Did you install the rest of the debs in the tarbal? Also, as I posted earlier, the order they are installed makes a difference.

DJJonosound 2014-03-21 23:28

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Followed the instructions on the first post? Any idea which order I should use?

imaginaryenemy 2014-03-22 02:27

Quote:

Originally Posted by DJJonosound (Post 1418020)
Followed the instructions on the first post? Any idea which order I should use?

I wish I remembered. I mostly just started at the bottom and worked my way up. When one didn't work, i would move on to the next, then back again. I ended with the eandora.deb.

DJJonosound 2014-03-22 06:29

Re: [Application] Pandora Radio on Harmattan with eAndora
 
Installing lua package makes my device restart, any idea why?

Jef91 2014-10-16 05:36

Re: [Application] Pandora Radio on Harmattan with eAndora
 
I've created a Qt based player that works much better on the N9 -> http://talk.maemo.org/showthread.php...99#post1443099


All times are GMT. The time now is 07:50.

vBulletin® Version 3.8.8