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
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#181
2006-03-04, 06:05 AM
You're abosolutely right. I will look into that stuff...
pjharrus
Offline

Junior Member

Posts: 5
Threads: 2
Joined: Jan 2006
#182
2006-04-05, 10:51 PM (This post was last modified: 2006-04-07, 04:37 AM by pjharrus.)
What files do I need besides RecordingManager.exe the XML file in the GBPVR directory? And how does Comclean work into this?

would I just put the following into the postprocessing.bat file?

Code:
call recordingsmanager
call comclean %1


It is not very clear on how to use this utility. But sounds very useful so I want to learn how before I mess something up.

edit: Never mind. I took a closer look at the XML file and see that it has an option for Comclean

edit: After more careful reading of this thread the Comclean option in the XML doesn't work. . . but sounds like you can put a commandline in the Comclean field to have it run. I'm not sure. Can someone let me know how they use RecordingsManager with Comclean?
A_Brass
Offline

Senior Member

Posts: 474
Threads: 22
Joined: Mar 2005
#183
2006-04-10, 04:23 PM
Does anyone have an idea why Rename Recordings is removeing shows it renames from my database?

I have narrowed it down to this scenearo:

I have a two tuner system. If I schedule show's to record at 7:30 to 8:00 and 8:00 to 8:30, on the same channel the first show and sometimes the second do get renamed but are removed from the database. The last time it happened the first one was renamed and removed and the second was renamed correctly in the file and updated the database.

I'm running comskip during my recordings, and rename recordings runs in my postpprocessing.bat like this:

-------------------------------------------
RenameRecording.exe -t %1 > rename.log
rectracker %1 > rectracker.log
-------------------------------------------

This only seems to happen when I have a show begining when another is ending. I'm not sure if its switching tuners (I don't think so).


Any thoughts on what's wrong, or a work around to keep it from remove then entry from the database.


Thanks
GBPVR Server:
AMD Sempron 3300+, 1gb DDR, 100, 200 & 500gb HDDs, DVD -/+RW PVR150 RETAIL, PVR150MCE.
GBPVR 1.0.16, SKIN'S = Default Blue, PLUGIN'S = None
MediaMVP
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#184
2006-04-10, 04:58 PM
A_Brass Wrote:Does anyone have an idea why Rename Recordings is removeing shows it renames from my database?

Renamerecording does not remove the files from the database, gbpvr does if it cant find the file that matches the filename in the database. It seems to me that you should be more concerned with renamerecording only renaming properly sometimes.

A_Brass Wrote:I'm running comskip during my recordings, and rename recordings runs in my postpprocessing.bat like this:

-------------------------------------------
RenameRecording.exe -t %1 > rename.log
rectracker %1 > rectracker.log
-------------------------------------------

How are you running comskip? Through the gbpvr config, or do you have a parallelprocessing.bat file with a call for comskip?

I ask because you may have a problem with concurrency between comskip and renamerecording. There are two things you can try: If you have a parallelprocessing.bat, with comskip.exe %1 in it, try putting the renamerecording.exe ... line after the comskip line. This will ensure that rename starts after comskip finishes. The other option is to put a sleep command before the rename line. You can get sleep.exe from this location, and add this line to your batch before rename....: sleep 30 This will wait 30 seconds before it executes the rename. (you can do this in a number of ways, but i think this is easiest.)
A_Brass
Offline

Senior Member

Posts: 474
Threads: 22
Joined: Mar 2005
#185
2006-04-10, 05:09 PM
turkey Wrote:Renamerecording does not remove the files from the database, gbpvr does if it cant find the file that matches the filename in the database. It seems to me that you should be more concerned with renamerecording only renaming properly sometimes.

Yes you are correct, I should have been more clear. "Renamerecordings is causing my show's to be removed from the database"


turkey Wrote:How are you running comskip? Through the gbpvr config, or do you have a parallelprocessing.bat file with a call for comskip?

I'm running it from the config app, but I'll give it a try in the parallelprocessing.bat.

turkey Wrote:I ask because you may have a problem with concurrency between comskip and renamerecording. There are two things you can try: If you have a parallelprocessing.bat, with comskip.exe %1 in it, try putting the renamerecording.exe ... line after the comskip line. This will ensure that rename starts after comskip finishes. The other option is to put a sleep command before the rename line. You can get sleep.exe from this location, and add this line to your batch before rename....: sleep 30 This will wait 30 seconds before it executes the rename. (you can do this in a number of ways, but i think this is easiest.)

Both very good ideas. I'll give it a go. Thanks for the input. I'll let you know if it works.

Thanks
GBPVR Server:
AMD Sempron 3300+, 1gb DDR, 100, 200 & 500gb HDDs, DVD -/+RW PVR150 RETAIL, PVR150MCE.
GBPVR 1.0.16, SKIN'S = Default Blue, PLUGIN'S = None
MediaMVP
A_Brass
Offline

Senior Member

Posts: 474
Threads: 22
Joined: Mar 2005
#186
2006-04-10, 08:20 PM
Ok, I tired loading comskip and rename recordings in my Parallelprocessing.bat Then I set two recordings back to back on the same channel. The first one completed and was renamed correctly. But was removed from the database. The second was not renamed correctly, and of course stayed in the database.

This was the rename log:

RenameRecording v1.1 build20051223
Title: Little People, Big World
Argument: -t Z:\MyTV\Little People, Big World\Little People, Big World_20060410_15301600.mpg
Episode name: Little People, Big World - Twins?
Episode Oid: 438
System.ApplicationException: Error renaming program 'Z:\MyTV\Little People, Big World\Little People, Big World_20060410_15301600.mpg' to 'Little People, Big World - Twins?' (oid 438) ---> System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo..ctor(String fileName)
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)
--- End of inner exception stack trace ---
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)
at RenameRecording.RenameRecordingClass.RenameRecordingTitle(String sEpisodeName, Int32 iEpisodeOid)
at RenameRecording.RenameRecordingClass.DoMain()
System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo..ctor(String fileName)
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)



How long can you use the %1 variable in a bat file? For instance If I was to run my rename recordings at a later time in the day in another bat file would it still work?
GBPVR Server:
AMD Sempron 3300+, 1gb DDR, 100, 200 & 500gb HDDs, DVD -/+RW PVR150 RETAIL, PVR150MCE.
GBPVR 1.0.16, SKIN'S = Default Blue, PLUGIN'S = None
MediaMVP
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#187
2006-04-11, 11:32 AM
I suspect that this rename failed as it didn;t like either the "," or the "?" symbol. RenameRecording should be able to handle this tho. i.e. is a file can;t be renamed sucessfully, it (and the db entry) should remain unaltered.

I have also just started to see some some (new) recordings that have been renamed correctly but have been removed from the db. I my case, it was a single recording at 07:20-07:30 with no other recordings around it. I need to do some more testing.

[edit] oh and no, %1 doesn't persist. You can add the file names to a text file by adding a line that says

echo %1 >> listoffiles.txt

and then use a script to process every file in listoffiles.txt and then delete the file. I think someone posted a script on the forums a while ago that did something like this. Anyway, I don;t think that this is the route to go down in order to resolve the missing recordings problem.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Murdock
Offline

Junior Member

Posts: 21
Threads: 2
Joined: Oct 2005
#188
2006-05-17, 03:14 PM
Hello I getting this after upgrading to .97 and moving to the new db system
I love this plugin its the only way to keep track of what recordings you have...

thanks for the help..!

RenameRecording v1.1 build20051223
Argument: D:\TV\Maximum Exposure\Maximum Exposure_20060517_09001000.mpg
System.ApplicationException: Failed to get episode info for file 'D:\TV\Maximum Exposure\Maximum Exposure_20060517_09001000.mpg' ---> System.ArgumentException: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
at System.Data.OleDb.OleDbConnectionString.ValidateParse()
at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl)
at System.Data.OleDb.OleDbConnectionString.ParseString(String connectionString)
at System.Data.OleDb.OleDbConnection.set_ConnectionString(String value)
at System.Data.OleDb.OleDbConnection..ctor(String connectionString)
at RenameRecording.RenameRecordingClass.GetConnection()
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)
--- End of inner exception stack trace ---
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)
at RenameRecording.RenameRecordingClass.DoMain()
System.ArgumentException: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
at System.Data.OleDb.OleDbConnectionString.ValidateParse()
at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl)
at System.Data.OleDb.OleDbConnectionString.ParseString(String connectionString)
at System.Data.OleDb.OleDbConnection.set_ConnectionString(String value)
at System.Data.OleDb.OleDbConnection..ctor(String connectionString)
at RenameRecording.RenameRecordingClass.GetConnection()
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)
b00sfuk
Offline

Senior Member

Posts: 319
Threads: 26
Joined: Mar 2005
#189
2006-05-17, 04:24 PM
Murdock Wrote:Hello I getting this after upgrading to .97 and moving to the new db system
I love this plugin its the only way to keep track of what recordings you have...

thanks for the help..!

RenameRecording v1.1 build20051223
Argument: D:\TV\Maximum Exposure\Maximum Exposure_20060517_09001000.mpg
System.ApplicationException: Failed to get episode info for file 'D:\TV\Maximum Exposure\Maximum Exposure_20060517_09001000.mpg' ---> System.ArgumentException: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
at System.Data.OleDb.OleDbConnectionString.ValidateParse()
at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl)
at System.Data.OleDb.OleDbConnectionString.ParseString(String connectionString)
at System.Data.OleDb.OleDbConnection.set_ConnectionString(String value)
at System.Data.OleDb.OleDbConnection..ctor(String connectionString)
at RenameRecording.RenameRecordingClass.GetConnection()
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)
--- End of inner exception stack trace ---
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)
at RenameRecording.RenameRecordingClass.DoMain()
System.ArgumentException: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
at System.Data.OleDb.OleDbConnectionString.ValidateParse()
at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl)
at System.Data.OleDb.OleDbConnectionString.ParseString(String connectionString)
at System.Data.OleDb.OleDbConnection.set_ConnectionString(String value)
at System.Data.OleDb.OleDbConnection..ctor(String connectionString)
at RenameRecording.RenameRecordingClass.GetConnection()
at RenameRecording.RenameRecordingClass.GetEpisodeInfo(String& sEpisodeName, Int32& iEpisodeOid)

It does not work (yet?) with the new database - see the updated entry on the wiki for details.
Silverstone LC10M with iMON
Gigabyte 780G+4850e, AMD 6570
Blackgold BGT3620, Harmony 555 Remote
Win7 32-bit, SAF
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#190
2006-05-17, 05:40 PM
I probably won't tackle this one until at least the next release of GBPVR to let some of the current migration issues work it's way out. If somebody wants to tackle it before then, please feel free to do so.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (31): « Previous 1 … 17 18 19 20 21 … 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 709 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 474 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 1,136 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,523 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 3,077 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 14,539 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,882 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,880 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 6,223 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 10,791 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