Release - Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wpbpete Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #16
updated to 0.2.1 awesome work, this is like having an unlimited music library Smile

I have a couple of request

1) Can you allow thumbs and fanart to be picked for the "stations" I know they're generic, but maybe the user can choose their own and have it populate the screen.

2) From fullscreen can there be a quick way to get back to the "stations" or to change stations while in fullscreen also there's no way to get back to the "Now Playing" screen. Maybe change the Home button in fullscreen to go to "Now Playing" and then the user can back into the "station" screen.
(This post was last modified: 2014-10-05 19:25 by wpbpete.)
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #17
(2014-10-05 18:49)wpbpete Wrote:  1) Can you allow thumbs and fanart to be picked for the "stations" I know they're generic, but maybe the user can choose their own and have it populate the screen.
Just made 0.2.2 which uses the last song played as the station art, but that'll make it change everytime. I can make it only pick the first time you play the station and maybe in the future add a context menu to the station to "Change Thumb"
(2014-10-05 18:49)wpbpete Wrote:  2) From fullscreen can there be a quick way to get back to the "stations" or to change stations while in fullscreen also there's no way to get back to the "Now Playing" screen. Maybe change the Home button in fullscreen to go to "Now Playing" and then the user can back into the "station" screen.
From fullscreen you can press 'N' to get to the playlist, then back from there should get you to the station list. Otherwise from a file menu you can open the left menu and pick 'Current playlist' on the bottom

Or add to userdata/keymaps/keyboard.xml : ( F11 will go to station list, and F12 will go to playlist )

Code:
<keymap><global><keyboard>
<f11>ActivateWindow(10025,plugin://plugin.audio.pandoki/)</f11>
<f12>ActivateWindow(10500)</f12>
</keyboard></global></keymap>
(This post was last modified: 2014-10-24 00:28 by gominoa.)
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #18
0.2.4 is up!

Choose station thumbnail via context menu
Fix ad detection play delay
Tracks are saved with album art (Delete your old library if you had it enabled previously)
Expired cache files are removed
(This post was last modified: 2014-10-06 07:46 by gominoa.)
find quote
scott967 Offline
Posting Freak
Posts: 2,765
Joined: Jul 2012
Reputation: 87
Post: #19
Had 2 problems on 0.2.5 running on XBMC 13.1

Station list sort doesn't seem to do anything.

Only loaded 4 songs. It appears that pandoraslim.Fill failed to be called after the first instance. This may be a consequence of a problem running pandoraslim.Save on one of the first 4 files:

Code:
10:57:14 T:4396  NOTICE: plugin.audio.pandoraslim.Save (71496523318ba61776bacd8ff67ac5d4) 'Jim "Kimo" West - The Sands Of Polihale'
10:57:14 T:4396   ERROR: Exception in thread Thread-3:
                                            Traceback (most recent call last):
                                              File "E:\Media\XBMC 13.1\system\python\Lib\threading.py", line 808, in __bootstrap_inner
                                                self.run()
                                              File "E:\Media\XBMC 13.1\system\python\Lib\threading.py", line 761, in run
                                                self.__target(*self.__args, **self.__kwargs)
                                              File "E:\Media\XBMC 13.1\portable_data\addons\plugin.audio.pandoraslim\default.py", line 179, in panSong
                                                panFetch(song, m4a)
                                              File "E:\Media\XBMC 13.1\portable_data\addons\plugin.audio.pandoraslim\default.py", line 162, in panFetch
                                                panSave(song, path)
                                              File "E:\Media\XBMC 13.1\portable_data\addons\plugin.audio.pandoraslim\default.py", line 81, in panSave
                                                os.renames(tmp, dst)
                                              File "E:\Media\XBMC 13.1\system\python\Lib\os.py", line 198, in renames
                                                makedirs(head)
                                              File "E:\Media\XBMC 13.1\system\python\Lib\os.py", line 150, in makedirs
                                                makedirs(head, mode)
                                              File "E:\Media\XBMC 13.1\system\python\Lib\os.py", line 157, in makedirs
                                                mkdir(name, mode)
                                            WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: u'E:\\Media\\XBMC 13.1\\portable_data\\userdata\\addon_data\\plugin.audio.pandoraslim\\Pandora/Jim "Kimo" West'

Full debug log is here:
http://xbmclogs.com/show.php?id=312782

scott s.
.
find quote
wpbpete Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #20
Looking good Smile thanks for those changes... F11 and F12 work fine, N gets me to the playlist but pressing back (esc) sends me to fullscreen again,
Quote:Otherwise from a file menu you can open the left menu and pick 'Current playlist' on the bottom
I'm not seeing Current playlist in the left menu
Quote:Choose station thumbnail via context menu
The only options seem to be mounted sources, can you add more ie: home folder, C, other drives

Have you noticed a delay when you quit kodi,
PHP Code:
18:02:37 T:5932  NOTICEStorageServer-2.5.4 Closed down
18
:02:37 T:3908  NOTICE: [Artist Slideshowscript stopped
18
:02:42 T:7440   ERRORCPythonInvoker(29C:\Users\xxx\AppData\Roaming\Kodi\addons\plugin.audio.pandoraslim\default.py):
 
script didn't stop in 5 seconds - let's kill it
18
:02:58 T:7440  NOTICEstopped 
(This post was last modified: 2014-10-07 00:57 by wpbpete.)
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #21
(2014-10-07 00:30)scott967 Wrote:  Had 2 problems on 0.2.5 running on XBMC 13.1

Station list sort doesn't seem to do anything.

Only loaded 4 songs. It appears that pandoraslim.Fill failed to be called after the first instance. This may be a consequence of a problem running pandoraslim.Save on one of the first 4 files:

Looks like the quotes in 'Jim "Kimo" West' caused a bad filename.
And I did mess with the sort code without retesting it. Will look into it.

Thanks!
find quote
scott967 Offline
Posting Freak
Posts: 2,765
Joined: Jul 2012
Reputation: 87
Post: #22
Pandora slim 0.2.5 / Kodi helix nightly 0928

OK another fail to run pandoraslim.Fill, again seems related to failure to construct a proper save path for a file:

Code:
12:37:51 T:6308  NOTICE: plugin.audio.pandoraslim.Save (6caea227e3deb12d4cadc46e1f3bd589) 'Miss A. - I Don't Need A Man'
12:37:51 T:6308   ERROR: Exception in thread Thread-2:
                                            Traceback (most recent call last):
                                              File "E:\Media\Kodi 14 0928\system\python\Lib\threading.py", line 808, in __bootstrap_inner
                                                self.run()
                                              File "E:\Media\Kodi 14 0928\system\python\Lib\threading.py", line 761, in run
                                                self.__target(*self.__args, **self.__kwargs)
                                              File "E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py", line 179, in panSong
                                                panFetch(song, m4a)
                                              File "E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py", line 162, in panFetch
                                                panSave(song, path)
                                              File "E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py", line 81, in panSave
                                                os.renames(tmp, dst)
                                              File "E:\Media\Kodi 14 0928\system\python\Lib\os.py", line 199, in renames
                                                rename(old, new)
                                            WindowsError: [Error 3] The system cannot find the path specified

Edit: I did a test after turning off the file save option and now I am getting Fill to run again (only tested for the second set of 4 tracks). Also my settings/lib is this:
Code:
<setting id="lib" value="special://userdata/addon_data/plugin.audio.pandoraslim/Pandora" />

I did notice if I shutdown Kodi while pandora slim is running the addon won't stop properly and I have to kill Kodi from the OS

Code:
13:14:17 T:6684   ERROR: CPythonInvoker(3, E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py): script didn't stop in 5 seconds - let's kill it
13:14:17 T:4700   DEBUG: plugin.audio.pandoraslim.Fetch TIMEOUT (d60abf76a8271d9a68884a674ddb5141,  385024) 'Hyolyn - Stalker'
13:14:18 T:5756   DEBUG: plugin.audio.pandoraslim.Fetch TIMEOUT (e1716132ed1e68457f4c7e405b92d8d6,  385024) 'Miss A. - Bad Girl Good Girl'
13:14:18 T:6560   DEBUG: plugin.audio.pandoraslim.Fetch TIMEOUT (60c5fea4ee5060314795ba9011bc05a2,  393216) 'Girls' Generation - Lost In Love'
13:14:18 T:2964   DEBUG: plugin.audio.pandoraslim.Fetch TIMEOUT (ae72f339f069aa243f2d6d8a0c815432,  401408) '2ne1 - Lonely'
13:14:19 T:4584    INFO: CPythonInvoker(3, E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py): script aborted
13:14:19 T:4584    INFO: CPythonInvoker(3, E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py): waiting on thread 6560
13:17:30 T:4584    INFO: CPythonInvoker(3, E:\Media\Kodi 14 0928\portable_data\addons\plugin.audio.pandoraslim\default.py): waiting on thread 5756


scott s.
.
(This post was last modified: 2014-10-07 01:36 by scott967.)
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #23
(2014-10-07 00:35)wpbpete Wrote:  Have you noticed a delay when you quit kodi,
(2014-10-07 01:00)scott967 Wrote:  I did notice if I shutdown Kodi while pandora slim is running the addon won't stop properly and I have to kill Kodi from the OS
It's still downloading the next songs in the background. Will have to research how to fix
(2014-10-07 01:00)scott967 Wrote:  OK another fail to run pandoraslim.Fill, again seems related to failure to construct a proper save path for a file:
I believe I've got this fixed. Seems linux is much more lenient on file names.

Look for a 0.3.0 within the hour with musicbrainz tagging!
(This post was last modified: 2014-10-07 01:52 by gominoa.)
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #24
0.3.2 is up. Please test

Fix station sort
Fix bad filenames (maybe?)
Fix station thumb selection
Add musicbrainz tagging to saved tracks

Thanks!
(This post was last modified: 2014-10-07 03:43 by gominoa.)
find quote
wpbpete Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #25
Rofl fukin yea!!!
[Image: 785Ers1.png]
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #26
(2014-10-07 03:13)wpbpete Wrote:  Rofl fukin yea!!!
I know right? lol

If you haven't, you might want to wipe the library, so stuff from before 0.3 gets tagged properly.
Also, is 'Artist/Artist - Album/Artist - Title' fine for file naming? And should I bother with the folder.jpg's ?
(This post was last modified: 2014-10-07 03:43 by gominoa.)
find quote
wpbpete Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #27
Ok, will do, I see you went away from .strm

that should be fine and yes, you need folder.jpg
find quote
Dixon Butz Offline
Fan
Posts: 334
Joined: Dec 2010
Reputation: 10
Location: Hershey Highway
Post: #28
I am getting this:

No Songs

Try again later

I see the 4 songs that did just download in the cache folder.
It worked once. I think I tried like 4 times.
0.3.2
Kodi 14.0 alpha 5 Portable Mode

22:12:30 T:5280 NOTICE: plugin.audio.pandoraslim.Play (190004542955112849)
22:12:32 T:6060 NOTICE: plugin.audio.pandoraslim.Fetch OK (7af6074e95d3167cfd36ae438d10d3b0, 861124) 'Hammock - Glacial'
22:12:32 T:6312 NOTICE: plugin.audio.pandoraslim.Fetch OK (2d07d0b7766c7a65da58f8792d70557d, 2222707) 'Rudy Adrian - Moonwater'
22:12:32 T:3664 NOTICE: plugin.audio.pandoraslim.Fetch OK (fae1e9dc2b1f4a4e122de5723cb8f621, 4816925) 'Deuter - Dammerschein'
22:12:32 T:5680 NOTICE: plugin.audio.pandoraslim.Fetch OK (2c6e64abb50762c9b3125d79e8e7f205, 2930186) 'Anugama - Gentle Touch'
22:12:33 T:5280 NOTICE: plugin.audio.pandoraslim.Play: NO SONGS
22:12:48 T:4112 NOTICE: Thread LanguageInvoker start, auto delete: false
22:12:48 T:4112 NOTICE: -->Python Interpreter Initialized<--
22:13:47 T:1120 ERROR: CPythonInvoker(13, D:\XBMC Helix\portable_data\addons\plugin.audio.pandoraslim\default.py): script didn't stop in 5 seconds - let's kill it
22:13:47 T:1120 ERROR: Playlist Player: skipping unplayable item: 9, path [plugin://plugin.audio.pandoraslim/?station=190004542955112849]
find quote
gominoa Offline
Member
Posts: 57
Joined: Oct 2014
Reputation: 12
Post: #29
(2014-10-07 04:20)Dixon Butz Wrote:  I am getting this:

No Songs
Try again later
What are your settings for 'Skip Ads', 'Advert Size', and 'Start Delay' ?
Made a 0.3.4 with a bit more logging to see if we can track this down
(This post was last modified: 2014-10-07 09:13 by gominoa.)
find quote
Dixon Butz Offline
Fan
Posts: 334
Joined: Dec 2010
Reputation: 10
Location: Hershey Highway
Post: #30
(2014-10-07 05:16)gominoa Wrote:  
(2014-10-07 04:20)Dixon Butz Wrote:  I am getting this:

No Songs
Try again later
What are your settings for 'Skip Ads', 'Advert Size', and 'Start Delay' ?
Made a 0.3.4 with a bit more logging to see if we can track this down

I didn't change these. They are default I guess

Advert Size 256
Startup Delay 5
Skip Ads Unchecked
find quote
Post Reply