I've noticed an issue on Apple TV when if there is something being watched on the AppleTV and I perform a manual refresh on playlists the video starts to stutter and eventually the app crashes. I don't see the same behavior on an FireStick
I see your recent crash due to an out of memory error. Is this something that you can reproduce every time? How big is the playlist you're refreshing?
What does “manually refresh playlists” mean?
Can you describe what you’re doing and where you’re doing it? Server? Client?
First noticed with a curl post {url}/providers/m3u/sources/{source}/refresh call but also reproduced with using the GUI clicking on Reload M3U
The playlist size is irrelavent as I can refresh a list with 7 channels or one with 468 channels.However the cumulative of all the playlists (17 or so playlists) is rather large so that may be indicative of the out of memory error
Ah, it sounds like you're referring to what we call a "Custom Source" as a "playlist". We have a separate feature in the app called Playlists.
To clarify its an out of memory error on the AppleTV not the CDVR server as this doesn't occur on my FireStick platform, correct?
Yes, the Apple TV app is running out of memory. It does appear that you do have a large number of channels and guide data. I'm investigating further now.
Does this happen every time you use "Reload M3U" or just every once in a while?
Every time the video gets choppy. But doesn’t always crash everytime. Sometimes it’ll take me refreshing a couple playlists within a few seconds of each other to crash the app
What sources are you using?
I maintain a log of these Custom M3U Channel Playlist "refreshes" for my sources from the CDVR logs and see the most errors from these sources;
frndlyTV
SamsungTVPlus
PlexTV
I use my own in house built scripts for merging all the fast linear channels that we want (tubi, plex, pluto, distro, etc) and others so they don’t necessarily align with the ones you outlined but does appear the larger the number of channels, the higher the possibility of the issue. When I lowered down to only about 200 channels I did not see the issue as much (still some video choppyness as the refresh ran but not as bad) but as added more channels the issue became more prevalent
Honestly this usually isn’t an issue as run refreshes once a week in the middle of the night when we aren’t watching. But when I tinker and refresh, the fam doesn’t appreciate the crashes as they are watching something lol
I have noticed some of these Custom M3U playlist refreshes (mainly Plex) take a considerable amount of time and CPU utilization.
The longer they take, the more it affects CDVR operation.
I first noticed this with regular Channels DVR gracenote EPG sources many years ago.
Using both CPU and RAM resources when it happens.
@eric
Any updates to this?
I was also wondering is as I run a curl call to force the refresh of the sources each one at a time using
curl 'http://192.168.155.240:8089/providers/m3u/sources/[M3U_SOURCE]/refresh'
is there an option to force a refresh on all sources with one API/curl call?
this refreshes lineups and fetches guide data on all sources
curl -XPUT http://192.168.155.240:8089/dvr/guide?force=true
Same as doing Settings > Live TV & DVR > Guide Data > Maintenance > Re-Download Entire Guide
I don't know what you have in your guide, but it's causing the memory usage of the Apple TV to go from 600mb up to 2000mb and then crash after you do a guide refresh.
It sounds like there's something weird going on with your guide data.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.