nicox 2 Posted February 8, 2018 Posted February 8, 2018 (edited) Hello, I use Emby server and my client use often the transcoding option. However, once in a while (like every 2 weeks), all my files failed. I can't watch any movie except if I restart the server. Here is a log fail just before this happen. You can see a Conversion failed at the end of the file. My question are : -Why is this happening ? - Is it because of the line "No space left on device" ? If so, how to program an autopurge of transcoding cache ? (Because it fill it up in 2 weeks, I don't need to keep it that long). - Why do I have to restart the server ? In this case everything are ok (including the movie I wanted to watch), does that mean a server reboot purge all transcoding temp files ? If so how to program it (see question above) The client used is a raspberry pi with embycon. Thank you in advance for the help Log.txt Edited February 10, 2018 by nicox
nicox 2 Posted February 10, 2018 Author Posted February 10, 2018 Hello, I have found that using embycon, after watching a movie, the transcoding temp folder is not purged. Can someone help me on this ? I didn't find any option to program purge of the transcoding folder. Thank you in advance.
Angelblue05 4131 Posted February 10, 2018 Posted February 10, 2018 (edited) @ Are you calling delete for /Videos/ActiveEncodings with the device id when playback ends? Sent from my iPhone using Tapatalk Edited February 10, 2018 by Angelblue05
Happy2Play 9301 Posted February 10, 2018 Posted February 10, 2018 There is no manual purge option. There are a couple topics on this that basically say if the media is not stopped properly the transcoded-temp folder is not cleared of the recently played media, there are other features such as live streaming that could cause this also.. A server restart should clear the folder. Was just going to tag you @@Angelblue05 to see if this is a issue on embycon. 1
Angelblue05 4131 Posted February 10, 2018 Posted February 10, 2018 (edited) Embycon is null_pointer's project [emoji4] I just remembered having that issue with Emby for Kodi once upon a time. Sent from my iPhone using Tapatalk Edited February 10, 2018 by Angelblue05
nicox 2 Posted February 10, 2018 Author Posted February 10, 2018 (edited) Well, if I either use the stop button on Embycon or let the movie end, the transcoding folder is not purged. I even receive on the admin page of emby server that the user stopped the movie but the folder is not purged. The purge works great if I use the web browser for exemple. @@Angelblue05 I did not understand what it is and how to do it ? My emby transcoding folder on the server is /var/lib/emby/transcoding-something Edited February 10, 2018 by nicox
Angelblue05 4131 Posted February 10, 2018 Posted February 10, 2018 It's not something you do. The client should be calling that api when playback ends to tell the server to delete the files. It's possible embycon is not doing that. We'll have to wait to see what null_pointer says. Sent from my iPhone using Tapatalk
nicox 2 Posted February 10, 2018 Author Posted February 10, 2018 I have added it, it will be in the next beta. Thank you, with embycon it seems like the temp folder is never purged in my case. I added a temporary turn around with a cronjob to clean it up every day.
Luke 39361 Posted February 17, 2018 Posted February 17, 2018 I don't call DELET on /emby/Videos/ActiveEncodings?DeviceId= I found the trans coding cleans itself up when the ffmpeg quits. Are you saying there are situations where the temp files are not cleaned up when ffmpeg exits? @ you don't need to call this. the regular report playback stopped will handle this.
Luke 39361 Posted February 17, 2018 Posted February 17, 2018 No but it would be better to learn what is actually happening and why they aren't cleaned up in the first place, if indeed that is the case.
Anielarias 25 Posted May 18, 2024 Posted May 18, 2024 (edited) am having a similar issue to this. emby is increasingly using up my storage and as far i can tell a reboot of the container is what fixes/ free up the space. @Lukedo u have a fix for this? Edited May 18, 2024 by Anielarias
Luke 39361 Posted May 19, 2024 Posted May 19, 2024 6 hours ago, Anielarias said: am having a similar issue to this. emby is increasingly using up my storage and as far i can tell a reboot of the container is what fixes/ free up the space. @Lukedo u have a fix for this? Hi, let's look at a specific example: How to Report a Problem Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now