iTunes Playlist Thumb missing over many Plex releases

Each time a new PMS release comes out, I do the same thing after installing it. I go to Server settings, Channels, and change the iTunes library XML path from D:\iTunes for Plex\iTunes Library.xml to “D:\iTunes for Plex\iTunes Library.xml”. Then I go to Playlists and Import iTunes Playlists, overwriting my existing ones.

Like a sad drooling puppy, I wait for the results, the cookie just out of reach of my greedy maw.

And every time, ever since importing iTunes playlists came out, a couple of my smart playlists don’t import.

But let’s focus on one of them for starters. It’s a simple playlist and it comes over more or less correctly.

Except that it never has and never has had a thumbnail.

Here are some images and what I hope are pertinent log entries.



Jan 12, 2016 09:54:25:516 [10224] DEBUG - Request: [192.168.0.99:49996] GET /playlists/211021/composite/1451955646?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1&X-Plex-Token=pFr9k9y6QpPpDC8eRuRY (8 live) TLS GZIP
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * width => 150
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * height => 150
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * rows => 2
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * cols => 2
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * border => 0
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * media => thumb
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * repeat => 1
Jan 12, 2016 09:54:25:516 [10224] VERBOSE - * X-Plex-Token => pFr9k9y6QpPpDC8eRuRY
Jan 12, 2016 09:54:25:516 [10224] DEBUG - Auth: We found auth token (pFr9k9y6QpPpDC8eRuRY), enabling token-based authentication.
Jan 12, 2016 09:54:25:516 [10224] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Jan 12, 2016 09:54:25:518 [10224] VERBOSE - * track.duration< => 129999
Jan 12, 2016 09:54:25:521 [4760] VERBOSE - [IDLE] Server is now idle

Jan 12, 2016 09:54:25:533 [10224] ERROR - SQLITE3:DF2DB6BE, 1, no such column: media_items.duration
Jan 12, 2016 09:54:25:534 [10224] ERROR - Soci Exception handled: sqlite3_statement_backend::prepare: no such column: media_items.duration for SQL: select distinct parents.id from metadata_items left join metadata_items as parents on parents.id=metadata_items.parent_id left join metadata_items as grandparents on grandparents.id=parents.parent_id where metadata_items.library_section_id=19 and (( media_items.duration<=129999) and ( metadata_items.metadata_type=10)) and metadata_items.metadata_type = 10 and length(parents.user_thumb_url) > 0 limit 8
Jan 12, 2016 09:54:25:536 [4760] DEBUG - Completed: [192.168.0.99:49996] GET /playlists/211021/composite/1451955646?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1 (8 live) TLS GZIP 22ms 441 bytes 500 (pipelined: 2)
Jan 12, 2016 09:54:25:536 [11912] DEBUG - Request: [192.168.0.99:49996] GET /playlists/211010/composite/1451955673?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1&X-Plex-Token=pFr9k9y6QpPpDC8eRuRY (8 live) TLS GZIP
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * width => 150
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * height => 150
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * rows => 2
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * cols => 2
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * border => 0
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * media => thumb
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * repeat => 1
Jan 12, 2016 09:54:25:537 [11912] VERBOSE - * X-Plex-Token => pFr9k9y6QpPpDC8eRuRY
Jan 12, 2016 09:54:25:537 [11912] DEBUG - Auth: We found auth token (pFr9k9y6QpPpDC8eRuRY), enabling token-based authentication.
Jan 12, 2016 09:54:25:537 [11912] DEBUG - Auth: Came in with a super-token, authorization succeeded.

Jan 12, 2016 09:55:17:441 [2156] DEBUG - Completed: [192.168.0.99:50086] GET /playlists/211021/composite/1451955646?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1 (8 live) TLS GZIP 5ms 441 bytes 500 (pipelined: 11)

Jan 12, 2016 09:55:27:276 [14308] VERBOSE - iTunes: adding playlist Shorties
Jan 12, 2016 09:55:27:276 [14308] DEBUG - iTunes: reading tracks from playlist Shorties
Jan 12, 2016 09:55:27:277 [14308] VERBOSE - iTunes: reading track 100
Jan 12, 2016 09:55:27:278 [14308] VERBOSE - iTunes: reading track 200
Jan 12, 2016 09:55:27:279 [14308] DEBUG - iTunes: read 298 tracks for playlist Shorties

Jan 12, 2016 09:55:28:203 [14308] DEBUG - iTunes importer: playlist ‘Shorties’ (smart: 1)
Jan 12, 2016 09:55:28:204 [14308] DEBUG - iTunes importer: Smart query converted to ‘track.duration<=129999’ sort:
Jan 12, 2016 09:55:28:204 [14308] DEBUG - iTunes importer: Compatible query: ‘track.duration<=129999’
Jan 12, 2016 09:55:28:246 [14308] VERBOSE - * track.duration< => 129999
Jan 12, 2016 09:55:28:413 [14308] DEBUG - Updating metadata item (save) (Shorties) with ID 211021

Jan 12, 2016 09:56:29:145 [10124] DEBUG - Destroying metadata item 211021 (Shorties)
Jan 12, 2016 09:56:29:164 [2156] DEBUG - Completed: [192.168.0.99:50271] DELETE /playlists/211021 (4 live) TLS GZIP 33ms 231 bytes 200


Jan 12, 2016 09:55:39:904 [13528] DEBUG - Request: [192.168.0.99:50167] GET /playlists/211021/composite/1452610528?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1&X-Plex-Token=pFr9k9y6QpPpDC8eRuRY (9 live) TLS GZIP
Jan 12, 2016 09:55:39:904 [13528] VERBOSE - * width => 150
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * height => 150
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * rows => 2
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * cols => 2
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * border => 0
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * media => thumb
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * repeat => 1
Jan 12, 2016 09:55:39:905 [13528] VERBOSE - * X-Plex-Token => pFr9k9y6QpPpDC8eRuRY

Jan 12, 2016 09:55:39:973 [2156] DEBUG - Completed: [192.168.0.99:50167] GET /playlists/211021/composite/1452610528?width=150&height=150&rows=2&cols=2&border=0&media=thumb&repeat=1 (9 live) TLS GZIP 69ms 441 bytes 500 (pipelined: 5)

Jan 12, 2016 09:56:29:100 [6520] DEBUG - Request: [192.168.0.99:50243] OPTIONS /playlists/211021 (4 live) TLS GZIP
Jan 12, 2016 09:56:29:105 [2156] DEBUG - Completed: [192.168.0.99:50243] OPTIONS /playlists/211021 (4 live) TLS GZIP 5ms 504 bytes 200 (pipelined: 2)
Jan 12, 2016 09:56:29:131 [10124] DEBUG - Request: [192.168.0.99:50271] DELETE /playlists/211021 (4 live) TLS GZIP
Jan 12, 2016 09:56:29:131 [10124] DEBUG - Auth: We found auth token (pFr9k9y6QpPpDC8eRuRY), enabling token-based authentication.
Jan 12, 2016 09:56:29:131 [10124] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Jan 12, 2016 09:56:29:132 [14308] DEBUG - Updating metadata item (save) (Ghost Rider) with ID 177360
Jan 12, 2016 09:56:29:145 [10124] DEBUG - Destroying metadata item 211021 (Shorties)
Jan 12, 2016 09:56:29:164 [2156] DEBUG - Completed: [192.168.0.99:50271] DELETE /playlists/211021 (4 live) TLS GZIP 33ms 231 bytes 200

Give this dog a bone! Please, please spend some attention on the features that have already been released, but that are sadly broken, such as iTunes playlist import.

My second example is a smart playlist that has only one thing in it. Genre Is Rock. Plex seems to recognize what this means but it is always, always, always empty.

Surely your code can handle a smart playlist to match on a single Genre?

I thank you for your hard work, and I love Plex dearly, but I do wish you would stop constantly releasing incomplete features and support for endless more devices, and take some time to perfect what you’ve already put out.

TopDog69

One view so far, zero replies except this one. And I have to presume the one view is mine.

Is there any point in providing all this detailed feedback about what are obviously bugs in Plex if nobody is even going to view them?

I love Plex but it seems like nobody cares that iTunes playlist importing is broken and has been broken since it was released. I really hope somebody is working on this.

Hey, sorry you haven’t gotten an answer. There was a post a while ago from a dev who mentioned that certain smart iTunes playlists cannot be imported into plex because plex is not able to produce an equivalent smart playlist. I’ll need to find that post. The error you posted appears to be that issue.

@MovieFan.Plex thanks for the reply. This is a separate problem from smart playlists that don’t import.

The Shorties playlist mentioned above comes through with content and is functional - but there is no thumbnail for it.

(Here’s the post from May 2015 talking about some what smart playlist import logic is not supported https://forums.plex.tv/discussion/116370/itunes-importer#935767

I can understand if some complex logic can’t be reproduced, but a playlist based on just Genre should easily be supportable in Plex.
)

Yes it should. Can you pm me the xml from iTunes?