Seems like my LibreElec running PlexKodiConnect is generating thousands of playlists?

Server Version#: 1.14.1.5488
Player Version#: 3.89.2

Not sure if this is correctly placed, and knowing that the tag is for the official plugin… Sorry :confused:

I just think there might be more of you here that are able to read the Plex logs than elsewhere. “Something” in my Plexverse is creating endless amounts of playlists to the point where everything halts. We’re talking tens of thousands of playlists. All identical. Reason I’m tagging as Plex-for-kodi is that the IP in my logs are actually from my Raspberry Pi running LibreElec with PlexKodiConnect running. I’m also seeing some of these lines pointing to my mac which is only

My log says there are 23 good tokens, but I only have 10 or so devices with access. Any way to see a list of all of these tokens? I’ve turned on tokens in my logs now to try to pinpoint the issue. Any way to revoke tokens?

Here is what I can find happening in the log from a couple of these entries. Any idea what is causing this or what I can do to make it stop?

Mar 09, 2019 22:00:46.071 [0x145c6f7fd700] WARN - Held transaction for too long (../Playlists/PlayQueueGenerator.cpp:524): 0.160000 seconds
Mar 09, 2019 22:00:46.076 [0x145c6f7fd700] DEBUG - Updating metadata item (save) (Anbefalt_4358_02) with ID 179316
Mar 09, 2019 22:00:46.087 [0x145c713ff700] DEBUG - Completed: [192.168.1.15:35032] 200 POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_4358_02 (4 live) TLS 192ms 662 bytes (pipelined: 553)
Mar 09, 2019 22:00:46.134 [0x145c711fe700] DEBUG - Auth: authenticated user 1 as Fr00t
Mar 09, 2019 22:00:46.135 [0x145c6d3fd700] DEBUG - Request: [192.168.1.15:35032 (Subnet)] POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_1833_01 (4 live) TLS Signed-in Token (Fr00t)
Mar 09, 2019 22:00:46.137 [0x145c6d3fd700] DEBUG - Added new metadata item (Anbefalt_1833_01) with ID 179317
Mar 09, 2019 22:00:46.159 [0x145c6d3fd700] DEBUG - PlayQueue: Converted 'server://745c88cb23df53c2ff7ed102ad079a53ad377c21/com.plexapp.plugins.library/library/metadata/33278' to 'library://x/item/%2Flibrary%2Fmetadata%2F33278'
Mar 09, 2019 22:00:46.312 [0x145c6d3fd700] WARN - Held transaction for too long (../Playlists/PlayQueueGenerator.cpp:524): 0.150000 seconds
Mar 09, 2019 22:00:46.316 [0x145c6d3fd700] DEBUG - Updating metadata item (save) (Anbefalt_1833_01) with ID 179317
Mar 09, 2019 22:00:46.328 [0x145c711fe700] DEBUG - Completed: [192.168.1.15:35032] 200 POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_1833_01 (4 live) TLS 194ms 662 bytes (pipelined: 554)
Mar 09, 2019 22:00:46.399 [0x145c713ff700] DEBUG - Auth: authenticated user 1 as Fr00t
Mar 09, 2019 22:00:46.399 [0x145c657ff700] DEBUG - Request: [192.168.1.15:35032 (Subnet)] POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_2305_01 (4 live) TLS Signed-in Token (Fr00t)
Mar 09, 2019 22:00:46.401 [0x145c657ff700] DEBUG - Added new metadata item (Anbefalt_2305_01) with ID 179318
Mar 09, 2019 22:00:46.424 [0x145c657ff700] DEBUG - PlayQueue: Converted 'server://745c88cb23df53c2ff7ed102ad079a53ad377c21/com.plexapp.plugins.library/library/metadata/33278' to 'library://x/item/%2Flibrary%2Fmetadata%2F33278'
Mar 09, 2019 22:00:46.573 [0x145c657ff700] WARN - Held transaction for too long (../Playlists/PlayQueueGenerator.cpp:524): 0.140000 seconds
Mar 09, 2019 22:00:46.578 [0x145c657ff700] DEBUG - Updating metadata item (save) (Anbefalt_2305_01) with ID 179318
Mar 09, 2019 22:00:46.660 [0x145c713ff700] DEBUG - Completed: [192.168.1.15:35032] 200 POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_2305_01 (4 live) TLS 261ms 662 bytes (pipelined: 555)
Mar 09, 2019 22:00:46.710 [0x145c711fe700] DEBUG - Auth: authenticated user 1 as Fr00t
Mar 09, 2019 22:00:46.710 [0x145c58bff700] DEBUG - Request: [192.168.1.15:35032 (Subnet)] POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_2161_03 (4 live) TLS Signed-in Token (Fr00t)
Mar 09, 2019 22:00:46.712 [0x145c58bff700] DEBUG - Added new metadata item (Anbefalt_2161_03) with ID 179319
Mar 09, 2019 22:00:46.729 [0x145c58bff700] DEBUG - PlayQueue: Converted 'server://745c88cb23df53c2ff7ed102ad079a53ad377c21/com.plexapp.plugins.library/library/metadata/33278' to 'library://x/item/%2Flibrary%2Fmetadata%2F33278'
Mar 09, 2019 22:00:46.877 [0x145c58bff700] WARN - Held transaction for too long (../Playlists/PlayQueueGenerator.cpp:524): 0.150000 seconds
Mar 09, 2019 22:00:46.880 [0x145c58bff700] DEBUG - Updating metadata item (save) (Anbefalt_2161_03) with ID 179319
Mar 09, 2019 22:00:46.895 [0x145c711fe700] DEBUG - Completed: [192.168.1.15:35032] 200 POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_2161_03 (4 live) TLS 185ms 662 bytes (pipelined: 556)
Mar 09, 2019 22:00:46.940 [0x145c713ff700] DEBUG - Auth: authenticated user 1 as Fr00t
Mar 09, 2019 22:00:46.940 [0x145c5dbff700] DEBUG - Request: [192.168.1.15:35032 (Subnet)] POST /playlists/?type=video&uri=server%3A%2F%2F745c88cb23df53c2ff7ed102ad079a53ad377c21%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F33278&smart=0&title=Anbefalt_1747_03 (4 live) TLS Signed-in Token (Fr00t)
Mar 09, 2019 22:00:46.942 [0x145c5dbff700] DEBUG - Added new metadata item (Anbefalt_1747_03) with ID 179320
Mar 09, 2019 22:00:46.976 [0x145c5dbff700] DEBUG - PlayQueue: Converted 'server://745c88cb23df53c2ff7ed102ad079a53ad377c21/com.plexapp.plugins.library/library/metadata/33278' to 'library://x/item/%2Flibrary%2Fmetadata%2F33278'
1 Like

Thanks @OttoKerner!

@croneter: You say the issue was resolved in v. 2.7.3, but I’m still seeing this while running 2.7.4. on LibreELEC 9.0.1. I even did a clean install with a brand new SD-card. Any tips?

I’ve managed to delete the playlists with another script.

EDIT: I might have come off as demanding, that was not my intention. Was more asking if I could get logs for you to look at :slight_smile:

I read the guide and followed it, deleting all the databases and playlists, so hopefully it will have helped to actually read the text instead of glancing at the title.

Thanks for your work with the add-on!

Always :wink:. Just be sure to delete your tokens as explained here: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

1 Like

Lets first see if it works after having deleted the playlists and done everything in the guide. Will post/send you logs later if it still returns.

Have a few other kinks in my log that I’m trying to straighten out first aswell :slight_smile:
(metadata and actual shows that are “added at” 1970-01-01 that spams logs with problems converting to epoch)

Again: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

1 Like

Yep, pretty sure that bug is not connected to plexkodiconnect but something else :slight_smile:

Just released pkc beta version 2.7.5. It contains a fix for this playlist issue

1 Like

Thats awesome :slight_smile:

I’ve got two installments of PKC (2.7.4) running on LibreELEC/Windows, and both has been behaving well without creating playlists since I followed your guide yesterday. Gonna stick with the stable branch unless I’m seeing issues

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