Create Plugin Streaming Audio

After reading useful posts I am now at a dead end or I just don't know where to go next.  I am new to programing. 

 

Goal: Play free version of Whisperings audio stream from http://www.solopianoradio.com, from within PHT using a plugin.  Otherwise, you have to close PLEX/PHT and open iTunes or Safari.

 

What I Know: 

1. Whisperings has three links to play the audio stream:

     1. http://www.solopianoradio.com By clicking on Flash and it allows play/controls

     2. http://www.solopianoradio.com/noflash.htm By clicking on the controls, without Flash

     3. http://pianosolo.streamguys.net/live.m3u Plays within Browser

2. Creating a Playlist within iTunes with the .m3u to Whisperings does not play within PHT using iTunes Plugin.

3. After finding the IPTV Plugin, I was able to add Whisperings to the .m3u file and it played successfully in PLEX.  Unfortunately IPTV does not appear compatible with PHT 1.0.

 

What I have done:

1. Using other plugins for ideas/information I have created a very basic start to a Whisperings plugin called "Piano"

2. The App will load in PLEX and the new PHT 1.0.

3. I have not been able to get a successful stream yet.

 

Setup:

Home Theater Computer (main PLEX Server): Mac Mini Early 2009, 2GHz, 4GB DDR3, OSX 10.8.5

 

Below I have uploaded the plugin bundle and the Piano Plugin Log.  

 

Any assistance, guidance or tips would be greatly appreciated.

 

Piano App.zip (44.9 KB)

 

 

Take a look at this thread: https://forums.plexapp.com/index.php?/topic/87493-OZ-Radio-Streaming-Plugin-Code ,
and this one: https://forums.plexapp.com/index.php?/topic/87257-Problems-with-PHT-and-audio-streams

Mikedm139,

Thank you for the link to the streaming plugin code.  I was able to pretty much copy and paste the code and edit for the Whisperings links.  Thank you to DiegoV for the code!

It now plays within PHT.  PLEX was able to fetch the song title and display the titles with automatic refresh with a new song.

Now that I have the free stream working I would like to add the PureStream Log In capability.

Is it possible to have the track icon, when playing, display the CD cover from the website? http://www.solopianoradio.com/noflash.htm 

It looks like the site runs a java script which fetches the link to the cover from another website (i.e. Amazon, etc).  From what I have read about the plugin code, I may have to write a URL service to grab the information.

-This is not a make or break the plugin, just a nice feature to have.

Only issue so far is, once you click play on the track, it can take 30-60 seconds before playback starts.  There is no loading symbol or the standard PHT "please wait..." at the bottom.

Below is the Bundle with the current code and resources. 

Thanks Again!

piano.bundle.zip (56.8 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.