probably after one of the last updates of the Plex server, I am no longer able to play certain videos on iOS devices (tested with iPhone XS Max, iOS 14.1 and Apple TV, iOS 14.0.1) via the official Plex app. The problem can be reproduced in .mp4 and .mov files. .mkv files, however, can be played without any problems.
Equipment:
Plex 1.20.3 on QNAP (x86)
Plex 7.8.1 on iPhone XS Max 14.1
Plex (latest version) on Apple TV 14.0.1
For this I activated the log on the server and copied the exact place where I wanted to play the video on an iPhone:
Oct 27, 2020 10:56:50.121 [0x7f3ebced3700] DEBUG - Auth: authenticated user 1 as XXXXXXX
Oct 27, 2020 10:56:50.122 [0x7f3ebc8f7700] DEBUG - Request: [192.168.200.90:43262 (WAN)] POST /playQueues?continuous=0&includeExternalMedia=1&includeLoudnessRamps=1&key=%2Flibrary%2Fmetadata%2F6854&recursive=0&shuffle=0&type=photo&uri=server%3A%2F%2F0e58e31e62a9199f77cf1f07XXXXXXXXXXXXX%2Fcom.plexapp.plugins.library6808 (5 live) TLS GZIP Signed-in Token (XXXXXXXXXXXXXX)
Oct 27, 2020 10:56:50.122 [0x7f3ebc8f7700] DEBUG - PlayQueue: Converted 'server://0e58e31e62a9199f77cf1f07XXXXXXXXXXXXXXX/com.plexapp.plugins.library6808' to 'library://x/directory/'
Oct 27, 2020 10:56:50.124 [0x7f3ebc8f7700] DEBUG - PlayQueue: 0 generated IDs compressed down to a 20 byte blob.
Oct 27, 2020 10:56:50.125 [0x7f3ebc8f7700] ERROR - LPE: invalid url: library://x/directory/
Oct 27, 2020 10:56:50.126 [0x7f3ebc8f7700] DEBUG - PlayQueue: Start index: 0 End index: -1 Count: 0
Oct 27, 2020 10:56:50.126 [0x7f3ebc8f7700] DEBUG - PlayQueue: 0 generated IDs compressed down to a 20 byte blob.
Oct 27, 2020 10:56:50.132 [0x7f3ebced3700] DEBUG - Completed: [192.168.200.90:43262] 200 POST /playQueues?continuous=0&includeExternalMedia=1&includeLoudnessRamps=1&key=%2Flibrary%2Fmetadata%2F6854&recursive=0&shuffle=0&type=photo&uri=server%3A%2F%2F0e58e31e62a9199f77cf1f07XXXXXXXXXXXXXX%2Fcom.plexapp.plugins.library6808 (5 live) TLS GZIP 10ms 536 bytes (pipelined: 1)
In addition, I have already repaired the database, but without success. The playback via a browser (including the Safari browser on the iPhone) works without any problems.
I’m running into that pesky LPE: invalid url: library://x/directory/ as well trying to add music to a playlist in bulk. Not sure if this is a red herring or a real error. Either way, I can add single songs to a playlist but not a large number.
Exact same problem with me when trying to play mp4 home videos from Library section of Photos on iPhone and Apple TV plex clients and same error showing in console. I’m on latest available iOS client (7.10) and latest on tvOS too.
But most interestingly, I found the videos WILL play fine if played from the Recommended or Timeline tabs on the iOS client. So it sounds like a hopefully small but important bug to fix when trying to play home videos from within the Library tab of Photos. Looking forward to a fix. Happy to provide logs if useful.
I’m having the same issue. Same video that doesn’t play in the library will play if I go to recommended. There’s been two server updates since I noticed this and still no fix.
Same here, using last PMS version on Synology (1.20.5.3600) and iPad and iPhone (iOS 14.2).
I can confirm it works fine using Recommended or Timeline inputs.
Still looking into it. the logs provided earlier were the app and nano server logs. It would help if we had the server logs from your actual server not the ones that can be found on the device. The server logs that are on the device is the “nano” server that only helps manage sync.
Same issue here. Home videos won’t play for me when added in the Photos Library. They’ll only play under recommended and timeline.
I can also get home videos to play if I add them as an “Other Videos” Library, but I need to have my home videos in with my photos as they are nicely organised that way.
Same issue here. I also see the error “LPE: invalid url: library://x/directory/” in the logs.
I can reproduce this with plex server 1.21.1.3876 on Windows and Ubuntu and iOS app version 7.11.
Next to the timeline/recommended views it is also possible to play the videos when switching the library from “Photos” to “Albums”.