2024-09-07, 05:21 PM
(This post was last modified: 2024-09-07, 06:17 PM by Lost_Ones. Edited 1 time in total.)
Hello, ( Updated )
I have noticed that when watching live TV for a while I will eat up all the available disk space and I can see that this is due to transcoding of live TV.
I have Jellyfin 10.9.10 installed with docker compose, using a proper UID and GID. I launch the docker container with the same user. What is very odd is I cannot 'cd' beyond config to get to the transcoding folder. If I am sudo su -, I can then get to the dir, ad see that the cache and the transcode directories are both owned by my user id.
I seem to not be able to even delete these manually, using "find /opt/jellyfin/config/cache/transcodes/*.ts -type f -mmin 15 -delete" with either my id or sudo su - ( maybe there is a better command ), but I can delete them one by one. QUICK UPDATE - I added in -mmin +15 and it seems that I can delete files older then 15 minds. I was missing the +, there for I think I was deleting the 'younder ones'. I presume that I can set a crontab, but if I can do via the gui, that would be preferred.
Under Dashboard I have:
1) Under Scheduled tasks, every 15 mins I have clean transcode Dir configured.
2) Under Playback -> Transcoding I have everything default except I have ticked Delete Segments, and set the Time to Keep Segments set to 300 seconds.
When I am watching live TV, neither one of these seems to be working. However, if I close out of live TV, all transcodes are removed.
Am I not properly configured to cleanup transcode so I don't run out of space?
Thank you in advance for some direction.
I have noticed that when watching live TV for a while I will eat up all the available disk space and I can see that this is due to transcoding of live TV.
I have Jellyfin 10.9.10 installed with docker compose, using a proper UID and GID. I launch the docker container with the same user. What is very odd is I cannot 'cd' beyond config to get to the transcoding folder. If I am sudo su -, I can then get to the dir, ad see that the cache and the transcode directories are both owned by my user id.
I seem to not be able to even delete these manually, using "find /opt/jellyfin/config/cache/transcodes/*.ts -type f -mmin 15 -delete" with either my id or sudo su - ( maybe there is a better command ), but I can delete them one by one. QUICK UPDATE - I added in -mmin +15 and it seems that I can delete files older then 15 minds. I was missing the +, there for I think I was deleting the 'younder ones'. I presume that I can set a crontab, but if I can do via the gui, that would be preferred.
Under Dashboard I have:
1) Under Scheduled tasks, every 15 mins I have clean transcode Dir configured.
2) Under Playback -> Transcoding I have everything default except I have ticked Delete Segments, and set the Time to Keep Segments set to 300 seconds.
When I am watching live TV, neither one of these seems to be working. However, if I close out of live TV, all transcodes are removed.
Am I not properly configured to cleanup transcode so I don't run out of space?
Thank you in advance for some direction.