Edit Season / Episode numbers?

Is there any way to manually edit season and episode numbers on recordings?

I'm recording the series Halt and Catch Fire from the AMC channel on Pluto. The recordings have episode name, description and air date but no indicator for the season or episode number. Is there a file I can manually edit to add this info?

Running channels on a Synology NAS if that matters. I searched my Channels folder and didn't see any obvious files that might contain this metadata.

Thanks.

Are you using Pluto docker or something else

Yes, the Pluto docker

The only way to do this would be by moving the mpg file into the Imports/TV directory and renaming to have SxEx in the filename.

Easy enough. Thanks!

Excuse pulling up an old post like this but I'm crossing this right now and would like to ask if there is an automated way to do this? I've used tools like 'The Renamer' years ago to update filenames to have Season/Episode, but is there a good alternative that works on Linux and can be set to watch a directory?

@tmm1 Would you guys consider adding the ability to run a command/script after a recording completes so that perhaps that could be used to trigger the rename? I'm assuming that something exists already that kicks off comskip. Can that portion be modified to add additional commands?

watch and awk are great for looking at directories and patterns, and sed can take and manipulate names into the format you like (especially when paired with awk for additional processing). You may also want to look into xargs.

Yes we would like to add an easy way to post process via user script.

Fantastic. So this is something on the to do list or will it be a while before it might be available?

I use VideoReDo to do all my editing and the commercial skips that this makes are usually better then it makes itself so I double check and use them. I also use FileBot to auto rename all my captures once I have the edits done and it works great as long as you don't throw to many different programs at it at once. A yearly license is 6 bucks, lifetime is 60.
I like it enough I went for the lifetime here.
If you rename after Channels has done it's commercial skip it wont work anymore so make sure to rename after you have your commercial edits done and saved.

Thanks for the tip. I'm really wanting to do this all on Linux so not sure if your workflow will work for me.

Well didn't realize you were talking about Linux and not sure if any of those have the option for a Linux version but they do work nice in 7 and 10.
Maybe someone makes something similar that will but be worth looking for maybe as I really like the combo.
I do have my old win 7 6 core box I use mainly to support Windows Media Center to use my HD HomeRun Prime with cable card support, then I rename and edit on my newer win 10 pro box with a 4960x so editing and renaming goes even faster once I have the captures. You might be able to do similar with a small 7 or 10 box to run the stuff Linux doesn't like. I haven't messed with Linux myself but I know there are all kinds of options you can run.

1 Like

@tmm1 I did a bit of testing and have found what appears to be a good option for me. By using filebot for Linux command line, I'm able to use the AMC script which will find all files, rename them, and then move them to one of my tv show import directories.

I've forced an update scan on my imported media, but how often is this normally done? What do I need to do to update Channels so that the old recorded files (now moved) no longer show up in the library?

EDIT if anyone is interested, here's an example for a single program that renames all files and then moves them to an output directory which can then be imported:

filebot -rename --output /sharedfolders/media/tv/non_archived_tv/ --action move -non-strict /sharedfolders/media/tv/channelsplus_dvr/TV/COPS/ --format {plex}

PUT /dvr/pruner/deleted

Just realized that filebot did a copy and not a move so the files are still there.

I'm not sure I understand what you are telling me though. Can you elaborate please? Thanks

Send a PUT request to your DVR server at the /dvr/pruner/deleted endpoint. Something like:

curl -XPUT http://12.34.56.78:8089/dvr/pruner/deleted

(Of course, you'll want to substitute the actual IP address of your DVR server; but don't change the port.)

This is great. Thank you!

Is there anything similar to kick off a rescan of the imported data? I'll be able to script everything with these type of commands. Is there a list of all available?

No. The API is not public, nor is it guaranteed to remain stable. Your best option is to search the forums for topics similar to what you want to do; if there is an endpoint for the task, chances someone has posted it in a response.

1 Like