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

Member

Posts: 69
Threads: 16
Joined: Feb 2006
#251
2006-10-01, 06:25 PM (This post was last modified: 2006-10-01, 08:57 PM by theredbaron.)
I'm just bombarding this thread with newbie questions, aren't i?

For some reason, renamerecording does not work when i drag a file on it. I created a batch file that I could just drag an mpg to (not postprocessing), and i put in:
Code:
renamerecording -t %1 > renamerecording.log
however, nothing happens after the file is dropped on it, and the log doesn't get written to. this is the same line that is in my postprocessing, is there a clear reason why it doesn't work?

I tried from the command line
Code:
renamerecording -t "Drive:\Directory\File.mpg" > renamerecording.log
and it worked. any ideas why it only works when i type in the full path of the file? I'd really like to be able to drag and drop.

EDIT: I seem to have fixed it by typing the full path of renamerecording.exe and .log, and by having [code]cd "Drive:\devnz\gbpvr"[\code] as the first line of the batch
fdm225
Offline

Member

Posts: 102
Threads: 27
Joined: Nov 2005
#252
2006-10-06, 03:42 AM
Hi all,
when I try the new rename recording I get the following error? any ideas?

02230.mpg
RenameRecording v2.1 build20051223
Title: Scrubs
Argument: -t e:\tv\Scrubs\Scrubs_20061005_22002230.mpg
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
at RenameRecording.RenameRecording.GetEpisodeInfo(String& sEpisodeName, Int32
& iEpisodeOid)
at RenameRecording.RenameRecording.GetEpisodeInfo(String& sEpisodeName, Int32
& iEpisodeOid)
System.ApplicationException: Failed to get episode info for file 'e:\tv\Scrubs\S
crubs_20061005_22002230.mpg' ---> System.NullReferenceException: Object referenc
e not set to an instance of an object.
at RenameRecording.RenameRecording.GetEpisodeInfo(String& sEpisodeName, Int32
& iEpisodeOid)
--- End of inner exception stack trace ---
at RenameRecording.RenameRecording.GetEpisodeInfo(String& sEpisodeName, Int32
& iEpisodeOid)
at RenameRecording.RenameRecording.DoMain()
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
at RenameRecording.RenameRecording.GetEpisodeInfo(String& sEpisodeName, Int32
& iEpisodeOid)
tweeknockr
Offline

Junior Member

Posts: 47
Threads: 11
Joined: Sep 2006
#253
2006-10-14, 06:37 PM
I get the same error as well....?
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#254
2006-10-14, 10:24 PM
Well, these errors could happen when you run the "RenameRecording" file outside of the GBPVR directory.

Since I had to change the code to support the new SQLite database, and the DLL to support this is stored in the gbpvr program-directory, the program now needs to be in that position (and / or it needs to be your current working directory).

The only other option you have is to copy this file: "System.Data.SQLite.dll" from the GBPVR directory to the directory where you stored RenameRecording...

On another note, it reads the location of the database out of "config.xml". In the default settings, it is set to ".\GBPVR.db3"; this will also force you to have your GBPVR directory as current dir...

So, easiest thing to do is:
- Put RenameRecording in your GBPVR directory
- Make sure you "cd c:\Program Files\devnz\gbpvr"

and it should normally work...
//Ton
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#255
2006-10-14, 11:58 PM
You could also put GPVR on your PATH statement so that it looks for the DLLs in the path.
tweeknockr
Offline

Junior Member

Posts: 47
Threads: 11
Joined: Sep 2006
#256
2006-10-15, 07:18 AM
Hmm.. this is what I have been doing without any luck...

Does it work with 98.8 or no?
Cape-City
Offline

Member

Posts: 237
Threads: 44
Joined: Aug 2005
#257
2006-11-02, 05:12 PM (This post was last modified: 2006-11-02, 05:27 PM by Cape-City.)
Ton Wrote:Well, these errors could happen when you run the "RenameRecording" file outside of the GBPVR directory.

Since I had to change the code to support the new SQLite database, and the DLL to support this is stored in the gbpvr program-directory, the program now needs to be in that position (and / or it needs to be your current working directory).

The only other option you have is to copy this file: "System.Data.SQLite.dll" from the GBPVR directory to the directory where you stored RenameRecording...

On another note, it reads the location of the database out of "config.xml". In the default settings, it is set to ".\GBPVR.db3"; this will also force you to have your GBPVR directory as current dir...

So, easiest thing to do is:
- Put RenameRecording in your GBPVR directory
- Make sure you "cd c:\Program Files\devnz\gbpvr"

and it should normally work...

is the version in the wiki the latest one, which supports sqllite ?

i have the 0.98.13 version of gbpvr installed and switched my database
to sqllite ...
cyberdude
Offline

Junior Member

Posts: 30
Threads: 10
Joined: May 2006
#258
2006-12-31, 01:03 AM
RenameRecording v2.1 build20051223
...using System.Data.SQLite.SQLiteFactory DB Provider Factory
Title: Products for Total Living
Argument: -t C:\Documents and Settings\pvr\My Documents\Recordings\Products for Total Living\Products for Total Living_20061230_14001430.mpg
No episode name found


any ideas?

(Running latest GBPVR build on SQL database.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#259
2007-01-01, 04:30 AM
If an show doesn't have a Subtitle, you'll get that message, and it will keep the original name of the file.
MarkD
Offline

Junior Member

Posts: 40
Threads: 9
Joined: Nov 2005
#260
2007-01-03, 02:06 AM (This post was last modified: 2007-01-03, 02:09 AM by MarkD.)
I get the same error; but when I look at the show under the Video Archive plugin, I can see the episode name.

I can't get addepisode to work either...

This is running 99.5, first processed with comskip .79.67, then comclean.

*edit*

oops, maybe confused recording time with episode name...I'll repost if there's a problem....
Dell GX-270 3GHz, 2Gb, HVR1600, Radeon HD 5450, 1Tb, Windows Media Center dedicated NPVR system
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (31): « Previous 1 … 24 25 26 27 28 … 31 Next »
Jump to page 


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