Premium Music Library

Hi PlexConnect Users :wink:


Just for Information:


Upgrading to a Plex Premium Music Library will NOT work with PlexConnect…


Only Basic Music Labraries are SUPPORTED…

What is a "Plex Premium Music Library"?

A small commit has been pushed to get the “Premium” music sections to work with PlexConnect.

This does not add any of the nice new features, I’ll have a good look at the new features and see how they work and how best to implement them. Please be patient :slight_smile:

What is a "Plex Premium Music Library"?


Premium Music is a new feature added in PlexMediaServer 0.9.12 :-) its freakin awesome :-)

You can have a look at :
https://plex.tv/music?utm_source=Plex&utm_medium=email&utm_content=music1_5&utm_campaign=Premium+Music

A small commit has been pushed to get the "Premium" music sections to work with PlexConnect.

This does not add any of the nice new features, I'll have a good look at the new features and see how they work and how best to implement them. Please be patient :)


Thx roidy :-)

thank's roidy now it work's we waiting your nice feature  :D

First attempt at some of the new Premium Music Library features, this supports both fanart and non-fanart views, grab the latest commit:-



Artist Info Screen - pressing Select from the artist list takes you to the new artist info screen, pressing Play takes you to the default album list.
Similar Artists
Album Grid View
Music Video - with Vevo support.

Any bugs or weird stuff please let me know :slight_smile:

Great work! Is there a way to play selected playlist/album and/or shuffle songs in PlexConnect?

Playlists are the first item on the Main PlexConnect Navigationbar, if you don’t see it then you may need to go to Settings->General Appearance and turn them on. Shuffle Songs is the top option in the track list view.

Thank you! I have issues playing playlist content on PlexConnect 0.5v. From logs I get this message while trying to play tunes:

21:39:27 PlexConnect: started: 21:39:27

21:39:27 PlexConnect: Version: 0.5
21:39:27 PlexConnect: Python: 2.7.6 (default, Sep  9 2014, 15:04:36) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
21:39:27 PlexConnect: Host OS: darwin
21:39:27 PlexConnect: PILBackgrounds: Is PIL installed? True
21:39:27 PlexConnect: IP_self: 10.0.1.13
21:39:27 DNSServer: started: 21:39:27
21:39:27 DNSServer: ***
21:39:27 DNSServer: DNSServer: Serving DNS on 10.0.1.13 port 53.
21:39:27 DNSServer: ***
21:39:27 WebServer: started: 21:39:27
21:39:27 WebServer: ***
21:39:27 WebServer: WebServer: Serving HTTP on 10.0.1.13 port 80.
21:39:27 WebServer: ***
21:39:27 WebServer: started: 21:39:27
21:39:27 WebServer: ***
21:39:27 WebServer: WebServer: Serving HTTPS on 10.0.1.13 port 443.
21:39:27 WebServer: ***
21:39:44 PlexAPI: ***
21:39:44 PlexAPI: looking up Plex Media Server
21:39:44 PlexAPI: ***
21:39:45 PlexAPI: GDM: Servers discovered: 1
21:39:46 PlexAPI: Servers (local+MyPlex): 1
23:31:26 XMLConverter: XML_ExpandLine - Error in {{durationToString(NoKey:Audio:duration)}}
Traceback (most recent call last):
  File "/Applications/PlexConnect/XMLConverter.py", line 717, in XML_ExpandLine
    res = getattr(CommandCollection, 'ATTRIB_'+cmd)(src, srcXML, param)
  File "/Applications/PlexConnect/XMLConverter.py", line 1382, in ATTRIB_durationToString
    secs = int(duration)/1000
ValueError: invalid literal for int() with base 10: ''
 
I get this in playlist section pressing on any song from the list or shuffle button.
 
Any ideas what could be done to fix this ? 

That error is on my to fix list :smiley:

It usually happens when the tracks duration time is missing from the library, try scanning the music section of your library again. For some reason PMS doesn’t fill in all the track times when scanning the library, I had to scan my library 3 or 4 times and even then it still missed some :frowning:

New addition…

Plex Mix - Hold “Select” on any album track to see a “Plex Mix” for that track.

New addition....

Music Video listed directly in the album track view.

![post-51394-0-64362900-1430750601.jpg|690x370](upload://10LWjGQmJdmfs79Y9JCgyNMfM8O.jpg)

Holding "Select" on a track with an associated Music Video will pop up a menu asking weather you want to "Plex Mix" or "Play Video" 

>>Music Video listed directly in the album track view.

Looks weird... :-D

How does this one look?



This also has a problem where by if no tracks have a video all the track names are still pushed over to the right :frowning:

Looks better... in my opinion. :-D

Why does it push them to the right, if no one has that icon? I have no idea how you created that... but can't you "cut" the badge one level higher or something?

Edit: Ah, I see. You skip the and add the index yourself. Badge and don't go together, do they?

Because the icon on the left is just an like the coverart. For the tracks without a video a blank image is used to keep the alignment constant, so if all the tracks have no video they all get a blank image and are all pushed to the right.

Edit: Ah, I see. You skip the and add the index yourself. Badge and don’t go together, do they?


It’s really strange, all the work with except , for some reason that one doesn’t work with … possible apple bug???

How about setting the "badge image" to the left of the duration (), but with some space in between? Would that be possible? With this, it wouldn't push the title to the right, the duration would be aligned right and the badges just sitting in between...

It is totally possible that you found another bug in there... but as you know, unfortunately Apple didn't want to hear about it from our side. :-(

I can now confirm that playlist works fine. Every selected song, shuffle button is working [aTV software updated to 7.2]. I have one more question maybe somehow related or not. I have spotify2 channel. I log into it, can see all my individual playlists, public song lists, covers etc, but when I want to play them on aTV I get error loading this content message. Do you have any ideas how to fix this or where to look for solution ? Thanks! :)

This may be a question better suited for the channels forum otherwise you would need to provide a PlexConnect.log with settings.cfg set to log level high when encountering this error and also opening a new topic since this is a topic for premium music. Here is the links to both the template on how to make a proper log and the channel topic:

click here

https://forums.plex.tv/forum/41-plex-channels/