NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 28 29 30 31 32 … 93 Next »
Rename Recording

 
  • 0 Vote(s) - 0 Average
Rename Recording
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#21
2005-02-16, 01:03 AM
I added
comskip %1
into the postprocessing, just in time. Seinfeld just finished, and comskip kicked off 5 seconds after saving the PostProcessing.bat!!

I checked, I have several shows over the last day, that are remamed correctly, and show up in the database. It seems like all is well, thanks a bunch guys!
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#22
2005-02-16, 04:23 AM
Comskip is a program created by some members on SageTV, that creates a txt file that contains the start and end frames for commericals. This way a program like GBPVR can use them to skip the commericials. It works better on some Shows than others and some Channels than others.

The new RenameRecording.exe will check to see if the text file that Comskip created exists, and if so, will rename that text file as well as the recorded show. This is to keep the commercial skip points in synch with the show.

In order to do this correctly, Comskip has to run before RenameRecording otherwise Comskip won't find the file that it needs to process. I personally don't use Comskip because on the shows I record it doesn't do a very accurate job, but others find it works pretty well.



Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#23
2005-02-16, 11:44 AM
comskip %1
renamerecording %1

is my bat file.

But comskip ran and kept the original file name.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
Lucas_24
Offline

Member

Posts: 242
Threads: 15
Joined: Jul 2004
#24
2005-02-16, 12:57 PM
This is a great utility, I was wondering how it handles duplicate recordings of the same episode. For example, I started watching Mythbusters a while back. I had missed many episodes, and Discovery canada airs various episodes about 25 times aweek. So I just set my recording up to record all episodes on Discovery. I then just delete duplicates of episodes I've seen. But I often had 3 or 4 instances of the same episode recorded at 1 time. I was just wondering how the rename handles this since default GBPVR uses a timestamp to name the file.

Can't wait to try it.
Thanks
WIN 7
1 X PVR 250
1 X PVR 500
1 X HD-PVR
2 X MVP
2 X PCH A100
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#25
2005-02-16, 01:21 PM
Before it tries to rename the recording, it checks to see if a recording exists already in the directory with that name. If it does, it just leaves the current name filename.

The RenameRecording.exe does use a function from the CDK Scheduler to get the Sub Title name. The CDK Scheduler has a feature to not schedule duplicate recordings, if you don't want to have duplicates recorded. CDK Scheduler not only gives you this ability but the ability to setup recordings by priority.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#26
2005-02-16, 05:40 PM
CDK Scheduler can work with or replace the built in recording scheduler. You can either edit the PriorityRecordings.xml file used by CDK Scheduler with a text editor, or you can use XRecord V16 to manage and setup the recordings. To automate the CDK Scheduler you create a new file called PostUpdateEPG.bat, and put the following command in it:

PriorityRecordings.exe > recordings.log

Put the PostUpdateEPG.bat file in the gbpvr directory, along with your PriorityRecordings.xml file.


I currently only use the CDK Scheduler for scheduling all my recordings. I have nothing setup with the built in scheduler.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#27
2005-02-17, 04:47 AM
Until Jorm releases the next version of XRecord, you'll have to edit manually.

Values for the Quality element are the standard GBPVR values of Low, Medium, High, Custom1, or Custom2.

You can narrow the range that the scheduler will look to schedule that program by adding the <ScheduleTime> element after the <LimitDays> element. Something like:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<LimitDays>
<DaysOfWeek>Tuesday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="20:00"/>
<End time="23:30"/>
</ScheduleTime>
[/QUOTE]

Will only schedule the program if it is on a Tuesday, and the program start time is between 20:00 (8pm) and 23:30 (11:30pm). Otherwise it doesn't get scheduled. If you actually want to change the start times of the program then you'll have to wait until the next release or so of the CDK Scheduler, as that feature hasn't been implemented yet.

Again, when Jorm releases the next version of XRecord the management of the recordings should be much better, and easier to maintain.

You can remove the ArchiveEpisode program from your PostProcessing.bat, it doesn't do anything useful.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#28
2005-02-18, 12:06 AM
I REALLY like this tool! It seems to work real well. The Comskip part isn't working for me though. It isn't renaming the *.txt or *.log.

So for now I have renamed all 28 of my seinfelds correctly, then since half were missing comskip files from previous attempts, I made a batch file containing this;
FOR %%a IN (*.mpg) DO comskip &quot;%%a&quot;
I copied the 3 comskip.* files into the seinfeld dir, and ran it, and it seems like it is recreating the comskip files.

That will get me caught up, and hopefully, you can help me get the rename working. I guess I could just add a ren command into the postprocessing.bat to rename the OLDNAME.txt to the NEWNAME.txt, but I don't know if the names are stored as dos variables. (I guess the OLDNAME is)
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#29
2005-02-18, 03:36 AM
Hmmm...

Do you get in your log file:

New Comskip Filename: subtitle.txt

If for some reason it can't find the file, it will leave it as is.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#30
2005-02-18, 11:25 AM
you will see comskip.exe running in your task list. On my 2.8 it takes about 10 min for a 30 min show. It will create 2 files *.log and *.txt as it runs named the same as the *.mpg in the same folder.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (31): « Previous 1 2 3 4 5 … 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 398 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 273 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 909 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,394 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,882 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,416 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,630 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,724 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,972 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 9,980 2014-12-19, 10:28 PM
Last Post: cbgifford

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode