Apple TV STILL can't play some mkvs

I don’t have a directory specified in that field. I believe it should just use the local drive, based on the documentation? I have over a TB of free space on that NUC.

Ok, do I just optimize the database to fix that? Or is there some other process that can clear out that table?

I have no idea. I haven’t added photos to it in quite a while. Is it processing photos? I did just install the Photos app on my Synology, but that wouldn’t be reflected in Plex logs, right?

Look here. I suspect you’re bumping into boundaries.

Figure out how many directories are in the Notify list.

Ok, I ran that process and changed the max user watches. My number was 448399, converted to 480000. What’s next?

@eappell

Restart the server and PMS.

Upon restart, the new value you set in /etc/sysctl.conf will take effect.

Ok, done. So now we’re hoping that will allow the Apple TV to play that mkv file? Or are there more steps? Thanks!

Everything in your logs pointed to the EAE not working.
Increasing MAX_USER_WATCHES for [Notify] will allow that to work.

Restarting PMS allows it to pickup the new increased table size and load all the needed folders.

I will say, 400.000+ monitored folders is a lot of data. Each one occupies 540 bytes of memory (fixed). That could be adding up to 1/2 GB of fixed RAM usage lol

It should be ready to go

Any recommendations for reducing my folder count? I keep my media as:

Music: Artist/Album/
Photos: Year/Month/
Movies: Category/Movie (Year)/ (Category like: New, Classic, Sci-Fi, etc.)
TV: Show Title/Season/

I’ve been keeping this media for over 20 years, so there is a LOT of media. So without actually removing the media, are there strategies for reducing the number of folders?

I’ll try to play the movie again when I get home from work and report back here.

Thanks again for your help!

Music and Photos, when properly organized, do represent the most “over abundant” folder counts. There’s nothing which can be done or likely should be done.

As long as you’re OK with consuming that memory, all is good. (32/64 GB memory in the host can handle that without flinching.

My watch folder table size is 262144 (256K). I don’t flinch at that because I also have 256GB of memory in the machine :wink:

1 Like

FYI, I’m just now getting a chance to try that video again (crazy busy week), and it still won’t play on Apple TV.

I’m going to need both the Server logs AND the AppleTV logs after attempting playback.

To get the appletv player logs:

https://support.plex.tv/articles/212639598-apple-tv-logs/

This may or may not be the issue. Make sure Auto Quality is turned off in ATV settings.

Here are the Plex logs after attempting to play the file:
Plex Media Server Logs_2024-04-30_16-38-23.zip (4.3 MB)

I don’t know how old that article is, but there is no Enable Log Download option in Settings on my Apple TV device. I searched in General, and System, and a bunch of others, but can’t find it. I Googled it, and can’t find an article discussing how to download the logs for the Apple TV. When I go to the URL discussed in the article, it just says “Log downloading is not enabled, turn it on in settings and try again.” and when I search for that exact phrase I get zero hits. So I don’t know how to get the Apple TV logs…

Thanks

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