![]() ![]() I should probably use a temporary directory to do the recopy in so that Emby doesn't detect it and make. ![]() I've always had to "recopy" IPTV recordings to make comskip work in the first place, but this may be needed to make these files playable after that fact. I think I had to add the sleep timer in there to wait until the logs flushed. The recording is just appended to the one that failed. After that many restarts, I've found it pointless to try anymore. $APP_DIR/bin/ffmpeg.bin $1 $2 $3 $4 "$5" $6 $7 $8 $9 $"īasically all it does is check the log file for " command" and if this doesn't exist, the recording has failed, so it will restart the recording for up to 10 times. $APP_DIR/bin/ffmpeg.bin echo $5 | grep recording thenįor ((restart = 1 restart > /var/lib/emby/logs/failed-recordingsĮcho "**** recording failed, attempting restart #$restart ****" The real ffmpeg was renamed to ffmpeg.binĮxport AMDGPU_IDS=$APP_DIR/share/libdrm/amdgpu.idsĮxport FONTCONFIG_PATH=$APP_DIR/etc/fontsĮxport LD_LIBRARY_PATH=$APP_DIR/lib:$APP_DIR/extra/libĮxport LIBVA_DRIVERS_PATH=$APP_DIR/extra/lib/driĮxport OCL_ICD_VENDORS=$APP_DIR/extra/etc/OpenCL/vendorsĮxport PCI_IDS_PATH=$APP_DIR/share/hwdata/pci.idsĮxport SSL_CERT_FILE=$APP_DIR/etc/ssl/certs/ca-certificates.crt While I know this may not help you all out, maybe it will give you some ideas. Here is my scripts I wrote that I use on Linux to solve this problem. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |