INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: NEW: TV Recording Post-process Command  (Read 7528 times)

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
NEW: TV Recording Post-process Command
« on: February 23, 2018, 06:24:01 pm »

When you schedule a TV recording, you may add a command to be executed when recording finishes.  An example of such commands is ComSkip (assuming you record in TS format as ComSkip does not work with JTV format).  You may have other command that you may want to run after a recording is done.

There are two boxes you need to fill in.  The command itself, and the command line arguments.  The default command line argument is simply [Filename].  You should modify it according to the requirement of the command you are trying to run.
Logged
Yaobing Deng, JRiver Media Center

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: NEW: TV Recording Post-process Command
« Reply #1 on: February 23, 2018, 08:55:01 pm »

Bloody marvellous!

I reckon I'll get a default process of running ccextractor. I've found that with small kids in the house (either making swags of noise or trying to get them off to sleep) and other distractions that subtitles is a rather handy feature for TV playback.

Thanks
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: NEW: TV Recording Post-process Command
« Reply #2 on: February 27, 2018, 11:01:34 am »

I've changed the name of the feature.
Logged

hoyt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 867
Re: NEW: TV Recording Post-process Command
« Reply #3 on: February 28, 2018, 10:52:15 am »

Oooooh, so we'd be able to process a JTV file into a MP4 file post recording and then reduce it to a smaller file resolution to send to my handheld?  Fantastic!
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #4 on: February 28, 2018, 12:51:27 pm »

Oooooh, so we'd be able to process a JTV file into a MP4 file post recording and then reduce it to a smaller file resolution to send to my handheld?  Fantastic!

The implementation was done with external application in mind (such as ComSkip).  I have not tested it, but you might be able to use MC24.exe /MCC .
Logged
Yaobing Deng, JRiver Media Center

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: NEW: TV Recording Post-process Command
« Reply #5 on: March 03, 2018, 08:19:53 am »

Very nice add-on to MC Yaobing  ;D

Then i can automate ComSkip from inside MC, instead of having DirMon running in parallel to MC.

Appreciated all !

Cheers !
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1392
Re: NEW: TV Recording Post-process Command
« Reply #6 on: March 03, 2018, 03:32:03 pm »

...instead of having DirMon running in parallel to MC...

DirMon also deletes all the comskip leftovers after you remove/delete a tv show (if you configure it correctly). So if you don't run DirMon, won't you end up with a drive full of extra unnecessary files?
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10970
Re: NEW: TV Recording Post-process Command
« Reply #7 on: March 03, 2018, 03:35:31 pm »

DirMon also deletes all the compskip leftovers after you remove/delete a tv show (if you configure it correctly). So if you don't run DirMon, won't you end up with a drive full of extra unnecessary files?

You can run whatever cleanup you want from this as well, the point is that MC triggers the processing, and you don't have to rely on monitoring the file system or anything like that.
Logged
~ nevcairiel
~ Author of LAV Filters

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1392
Re: NEW: TV Recording Post-process Command
« Reply #8 on: March 03, 2018, 03:50:32 pm »

The description says it triggers a program after a recording finishes.
How does it trigger a program after a recording is deleted?
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #9 on: March 03, 2018, 09:57:19 pm »

In my tests I saw four files generated by ComSkip: *.edl, *.txt, *.log, *.logo.txt.

We make sure that these files are moved / deleted when you move / delete TV recordings.
Logged
Yaobing Deng, JRiver Media Center

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1392
Re: NEW: TV Recording Post-process Command
« Reply #10 on: March 04, 2018, 07:34:03 am »

In my tests I saw four files generated by ComSkip: *.edl, *.txt, *.log, *.logo.txt.

We make sure that these files are moved / deleted when you move / delete TV recordings.

Yes, those files. On mine, logo.txt is deleted by comskip during/after comskip processing completes. I also have an xml file.

Is moving all of those extra files NEW? Because, whenever I've moved a recording it only moved the .edl file. All the others did not get moved.
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: NEW: TV Recording Post-process Command
« Reply #11 on: March 04, 2018, 07:51:46 am »

I can confirm that ccextractor is successfully creating .srt files.

Haven't checked that a delete takes both the vid and srt file. I'd it doesn't, I'll pipe up. Silence and it's just fine. 
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #12 on: March 04, 2018, 09:06:17 am »

Is moving all of those extra files NEW? Because, whenever I've moved a recording it only moved the .edl file. All the others did not get moved.

Yes, new in version 24.
Logged
Yaobing Deng, JRiver Media Center

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: NEW: TV Recording Post-process Command
« Reply #13 on: April 14, 2018, 06:42:45 am »

Hi Yaobing and MC-team.

Just download and installed 24.0.15.
Very impressed by this version, even it's called 'early', very useable to me :-)
Big congrads to all of you !!!

Everything seems to react much more ... reactive.
Looks also more 2018'ish.
The reorganization of the GUI is spot-on !

TV seems to be better integrated, I've go also the impression DLNA discovery is faster then before.
After startup of MC the Sat>iP server is quicker found and accessible.

One question, is this new cool feature; The post-process command for TV-recordings also integrated and where to make the settings ?
I've looked under Television, Services and even tags to apply when a TV-rec is ended.
But not sure where to link Comskip to the finished TV recordings.

Thanks for your hint and/or help !

Steven.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #14 on: April 14, 2018, 04:28:33 pm »

Recording post-processing is configured in recording setup.  In standard view, select a TV program and click "Record".  On the last page of the wizard you can specify a command and the command line parameters.

Logged
Yaobing Deng, JRiver Media Center

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1392
Re: NEW: TV Recording Post-process Command
« Reply #15 on: April 14, 2018, 05:47:12 pm »

Oh fun! Let me think, how many HUNDRED recording rules do I have...  ::)
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #16 on: April 14, 2018, 08:59:51 pm »

Oh fun! Let me think, how many HUNDRED recording rules do I have...  ::)

 :(

How about this:

You modify one existing rule, adding a command, and click "Save settings as defaults", and wait for me to add the following option:

Apply default post-process command to all existing rules that have no command set.
Logged
Yaobing Deng, JRiver Media Center

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1392
Re: NEW: TV Recording Post-process Command
« Reply #17 on: April 15, 2018, 09:15:17 am »

You are awesome, as always  :)
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: NEW: TV Recording Post-process Command
« Reply #18 on: April 16, 2018, 12:28:01 pm »

Recording post-processing is configured in recording setup.  In standard view, select a TV program and click "Record".  On the last page of the wizard you can specify a command and the command line parameters.

Yes Yaobing, found it and works perfect: launching ComSkip by it :-)
Thanks !

I've updated the actual Recording Rules by this, the command is there aswell now.

But I've noticed - as I'm making some additional tags to create folders by filepath - these additional tags aren't pushed to every (existing) Recording Rule.
Only to new Rules.
Also listed under the Television option: 'tags to be ....'

Any idea ?

Thanks !

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72548
  • Where did I put my teeth?
Re: NEW: TV Recording Post-process Command
« Reply #19 on: April 16, 2018, 01:08:35 pm »

Please read above.  Yaobing proposed a change.
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #20 on: April 16, 2018, 04:13:44 pm »

"Tags to apply" has been like that since it was introduced.  I might as well lump Tags and Commands together in the newly proposed change.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #21 on: April 17, 2018, 10:03:56 am »

This will be in the next build:

NEW: Added a television option "If a recording rule does not include post-process tagging or command, apply respective defaults."

If you are going to use the same command for all recordings, you will not need to edit all your recording rules.  Just save a default, and turn this option on.

It is important that you note the difference between "a rule has no command set" and "a rule has an empty command".  Rules that were created in MC23 and earlier have no post-process command.  For such rules the default command will be used if the option is turned on.  A rule with an empty command is one that is created in MC24 (or created earlier but edited in MC24) with the command line string empty.  Such rules will not have any command executed.

Similarly, any rules that were created after the "Apply these tags" feature was introduced would have a tag string saved, even if such tagging properties were empty.  No defaults will be applied in such rules.  On the other hand rules that had been created before the "Apply these tags" feature was introduced, and have not been edited since, will not have any tagging property in them, and the defaults may be applied.
Logged
Yaobing Deng, JRiver Media Center

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: NEW: TV Recording Post-process Command
« Reply #22 on: April 17, 2018, 11:50:12 am »

Yes !
Perfect work and another thanks Yaobing  ;)
Logged

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: NEW: TV Recording Post-process Command
« Reply #23 on: April 17, 2018, 03:32:30 pm »

Can I propose an extension to this feature?  Add an archive command that will be called once the file has been watched?  Right now I am using a 3rd part application (developed by Glynor) to do this, but it would be nice if it was built in.  This gives the ability to watch the show in HD, then compress to h.264 via a batch file and have it available to watch again at 10% of the original size!
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: NEW: TV Recording Post-process Command
« Reply #24 on: April 18, 2018, 04:28:54 pm »

This looks like a separate feature instead of an extension of Post-process Command, which is carried out right after a recording finishes, not when it has been watched.
Logged
Yaobing Deng, JRiver Media Center
Pages: [1]   Go Up