Release Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3)
#1
Music 
Here's a Pandora player I've been working on. It does not use a custom GUI like the official Pandora plugin. It uses XBMC native playlist and keeps a running list of songs played. It can optionally skip advertisements and save tracks to the Music Library with MusicBrainz tagging. You can also rate songs Thumbs Up/Down by adjusting the number of stars in the Song Info screen. (see below for details)

After installing, fill out Pandora username and password. It will show your list of stations. Play one and you'll be brought to the playlist which updates as new songs queue. If enabled, tracks will be saved, tagged, and can be added to the XBMC Music Library. Let me know how it works for you and any problems you encounter.

ZIP Download: plugin.audio.pandoki-0.9.3.zip (System -> Settings -> Add-ons -> Install from zip file)
Repo Download: repository.gominoa-0.1.0.zip (Music -> Add-ons -> Get More -> Pandoki -> Install)


Song rating: Open "Song information" (press 'i') and adjust stars (choose Basic/Expert in Add-on settings)
Code:
Basic
* 5,4,3 - Thumbs Up
  2,1   - Thumbs Down and Skip
* 0     - Clear Previous Rating

Expert
  5 - Create and Play New Station Based on Song
* 4 - Add Song to current Station Variety
* 3 - Thumbs Up
  2 - Mark Song Tired and Skip (wont play for 30 days)
  1 - Thumbs Down and Skip
* 0 - Clear Previous Rating
(* There's no visual indication that these work, but they do. See 'Station details' on pandora.com via webbrowser)

Image


Shortcuts/Favorites:
Add to userdata/keymaps/keyboard.xml :
Code:
<keymap>
  <MyMusicPlaylist>
    <keyboard>
      <f1>RunPlugin(plugin://plugin.audio.pandoki/?rate=branch)</f1>
      <f2>RunPlugin(plugin://plugin.audio.pandoki/?rate=seed)</f2>
      <f3>RunPlugin(plugin://plugin.audio.pandoki/?rate=up)</f3>
      <f4>RunPlugin(plugin://plugin.audio.pandoki/?rate=tired)</f4>
      <f5>RunPlugin(plugin://plugin.audio.pandoki/?rate=down)</f5>
      <f6>RunPlugin(plugin://plugin.audio.pandoki/?rate=clear)</f6>
    </keyboard>
  </MyMusicPlaylist>
  <global>
    <keyboard>
      <f1>ActivateWindow(10500)</f1>
      <f2>ActivateWindow(10025,plugin://plugin.audio.pandoki/)</f2>
      <f3>ActivateWindow(10025,plugin://plugin.audio.pandoki/?play=1234)</f3>
    </keyboard>
  </global>
</keymap>

When on the Playlist F1-F6 will rate the currently PLAYING song accordingly.
Elsewhere F1 will go to playlist, F2 will go to station list, F3 will play station 1234.

Search kodi.log for "pandoki Play" and replace 1234 above with station id
Or use the full number from Pandora "Station details" url
Code:
example log:   NOTICE: plugin.audio.pandoki Play  OK 1234 'Some Station Radio'
example url:   http://www.pandora.com/station/1234567891233456789


Station Management: (context menu)
Image


Code:
Profile Settings
   Account - You can have 3
   Username - Pandora Username (email address)
   Password - Pandora Password
   Pandora One - Enable if you have a Pandora One subscription

   Proxy (does not work in 'Stream Only' mode. See below)
      Global - Use OS / XBMC global proxy settings
      None - Ignore OS / XBMC global proxy settings
      Custom - Define proxy for Pandoki only
      SNI Support - Turn on if your proxy needs SNI (requires pyOpenSSL/ndg-httpsclient/pyasn1)

General Settings
   Sort Stations - Sort Station List by (newest/oldest/a-z)
   Audio Quality - Stream quality (high/med/low)
   Rating Mode - Basic/Expert (see above)

   Track Handling - If a song is found in the cache/library it will play from there instead of redownloading
      Stream Only - Uses no disk space. Plays direct from Pandora. (cannot skip ads, no proxy)
      Cache Only - Temporarily cache tracks
      Save Liked Tracks - Save tracks rated 3+ stars to Library folder (see below)
      Save All Tracks - Save all tracks tagged by MusicBrainz to Library folder
   Save Playlist - Save a StationName.m3u playlist of liked tracks to Library folder
   Skip Ads - Attempt to skip advertisements

Advanced Settings
   Playlist History - How many tracks to keep in the playlist
   Advert Size - Tracks smaller than this (kb) are considered adverts (Too high will skip valid tracks)
   Track Prefetch - How many seconds of song to download before playing (Too low will cut off first song)

Folder Settings
   Cache - Temporary directory for tracks so repeats are not redownloaded
   Library - Save tagged tracks to this directory. Add this folder to your XBMC Music Library!

Settings:
Image
Reply


Messages In This Thread
Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - by gominoa - 2014-10-01, 18:09
Logout Mark Read Team Forum Stats Members Help
Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3)8