Yes, the data from the EDL is saved in Channels's database. So it does not need the EDL file itself, just the results from the comskip pass.
The EDL file is technically still in the Logs directory, and if you enable the EDL hack it will create edl files for all old recordings as well.
If you want to convert a DVR mpg to mkv and add chapter markers, you can do it easily using the video.ffmeta file that lives alongside video.edl in the Logs directory, as follows:
ffmpeg -i input.mpg -i video.ffmeta -c copy output.mkv
This will create a output.mkv which has chapter markers where the commercials occur.
So, I guess the MPEG format does not support chapter marking and thus the file would have to be converted to MKV format? I can't just update the MPEG file? Is that ffmpeg transcoding process and thus CPU intensive or just a copy so I would effectively double storage space since the Channels Database know nothing about the new MKV file.
What do you do with the original MPEG file? Delete it?
Correct. The mpegts format doesn't support commercial markers.
It is not transcoding, just copying the existing audio/video into a new container. Fast and low cpu usage.
You could replace the existing .mpg file with an .mkv and channels will still work.
Unless you changed it since I started doing this a long time ago you still have to change the extension back to .mpg, even though it's a .mkv.
Correct it must still be named .mpg
Yes, once it's moved into the folder that Sonarr reads to pick it up and sort it into Plex, I delete the original recording from Channels.
How is this executed on a Windows machine? Who decided that the edl file wouldn't exist right beside the recording by default like virtually every other piece of software out there?
If that's not working you could try this in powershell:
Invoke-WebRequest -Method PUT http://127.0.0.0.1:8089/dvr/hacks/edl
As for your second question most people don't use them, so why have the extra files?
I was under the impression the extra files were already being created, so why not put them right beside the recordings by default?
I have to agree they are creating the file anyway so it should be created where the recording is. Everytime I setup a new Install I have to remember to do the hacks.
This is the response from powershell
PS C:\Users\username> Invoke-WebRequest -Method PUT http://127.0.0.0.1:8089/dvr/hacks/edl
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, v
erify that the path is correct and try again.
At line:1 char:18
- Invoke-WebRequest <<<< -Method PUT http://127.0.0.0.1:8089/dvr/hacks/edl
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNot
FoundException - FullyQualifiedErrorId : CommandNotFoundException
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNot
Maybe it would just be easier to have a settings section on comskip so that normal folks could make standard decisions.
Sorry, not much more help since I don't have a Windows computer, but I know in PowerShell Core (or maybe PowerShell 6... I forget) that's stripped out. What Windows box do you have? Hopefully @tmm1 will show up shortly and he might be able to help.
As for the setting, I'm sure if it's requested enough and the use is there they could make it easier. I think they went this route since it was also the same thing that was done with the json's for people who wanted that for MCEBuddy way back in the day.
Can't really blame a person for not having a Windows machine in this day and age of forced software.
I also find it a bit strange that CDVR sorts recordings into folders based on their metadata. Traditionally, in my experience, all the recording files just end up in one directory and it's up to the software to parse the metadata and sort it in a fashion that makes sense to humans.
I have to disagree with you here I come from SageTV and always hated the fact that they put everything into one folder and that Includes Movies and TVShows.... main reason I left SageTV could not use recordings in Plex or KODI the way they were all piled in together. Have no problems with recordings from Channels DVR.
HDHomerun, Emby and Plex all separate shows by folder.
Maybe they should create a folder for every genre? TV shows, sitcoms, news, sports, movies, etc ...
Now you are being Childish.