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

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#111
2005-05-13, 02:50 AM
Wow, that is cool. I use the Video Archive plug-in exclusively to see what programs have been recorded and to manage disk space. I actually just looked at the CommonGBPVRUtilities.dll documentation and I see some methods there to deal with files. I'm going to add calls to that in RenameRecordings.exe so it doesn't get too full of duplicate entries with names before rename and after. After I get ComSkip working as I want that working as soon as possible.

Glad to find out the mystery.... Cool
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#112
2005-05-13, 10:47 AM
Jeff Wrote:If the lookup is happening automatically it is probably the video archive plug-in. In the next version (avaiable as a prerelease now) I no longer do poster lookups for files that are in the GBPVR recordings directory, to avoid problems like this. The plug-in will still automatically diwnload a folder.jpg file when the folder is created if it can find one.

Jeff
Great! I'll try that out. Is it on the Wiki?


Like I said, it could be quite entertaining, and difficult to explain to the rest of the family.
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.
johnny
Offline

Junior Member

Posts: 1
Threads: 0
Joined: May 2005
#113
2005-05-19, 04:42 AM
Can I ask some of you a favor?

I dont use the regular archiving method of a folder per show, but rather i put all shows in one folder. So, when the file renamer renames the files to the episode name, i loose the name of the show. Is ther a way to mod the source code to include the name of the show first, then the episode name?
for example:

The Daily Show with Jon Stuart - Zell Miller

I have stared at the source code for an hour, but i have no idea how to code, so any help would be greatly appreciated.
Thanks!
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#114
2005-05-19, 03:40 PM
Look below. I am planning on modifying RenameRecordings to allow the specification of a file format. This will allow the use of the program name, episode name and start and end dates and times in the file name as you see fit. I'm working on something to make ComSkip more useful, and then I'll work on this. All in due time Smile
garetmax

Unregistered
 
#115
2005-05-19, 03:43 PM
Hi,

I just installed the "rename recordings utility" a couple days ago and one of my recordings got lost which coincidentally? actually happens to be the TV show "Lost". Two other shows that were recorded got renamed, work, and look fine.

Whats happening is that this recording is not showing up in the "XRecord" "ready" list. When I look at my harddrive, the recording is there - the "Lost - Exodus" episode, and it plays fine when doubleclicking in windows explorer. It did get renamed as "exodus.mpg" and it is in the "lost" folder which looks correct.

When I go into the video archiver plugin an error comes up when I select Lost. It shows an unhandled exception... and has an invalid token"]".

When I look in the gbpvr.mdb file - programme section, I don't see this episode in there as either "lost" or "exodus".

When I look in the video archive.mdb file, I see both of these as videofiles in different rows, Exodus.mpg in one row and another row that shows Lost_20050518_20002101.mpg.

I also use comskip but have been using that for awhile without problems.

Any idea? Can I manually edit the database file to get it back in there? Will manually editing the databases mess things up or is there any reason to leave these databases alone?

I've looked at other posts in this thread and am still unsure of what happened, how to fix it, and how to avoid it again.

Thanks Smile
ZaDDaZ
Offline

Member

Posts: 96
Threads: 6
Joined: Mar 2005
#116
2005-05-19, 03:54 PM
The issue with the database records disappearing should not be happening with the latest version. The problem was that either the recording service or GBPVR would load the entire list of recorded programs, and verify their existance. If a file was not found, that record would be deleted in the database, regardless of wether the file name had been changed in the database in the mean time. This is just a syncronization issue. So, I modified RenameRecordings to go ahead and delete the existing record and insert a new record for the renamed file. If you aren't using the lastest one, look in this thread and get it. If you are, I'm not sure why the record would be gone.

I don't believe there would be any issue with adding the record yourself manually to the SCHEDULED_RECORDINGS table, but to have the right data, it would have to reference a record in the PROGRAMME table and that record may have already been removed, so it would need to be re-created as well, using the data from Video Archiver.
garetmax

Unregistered
 
#117
2005-05-19, 04:32 PM
I just downloaded the latest file from this thread dated 5-5-05 and installed it.

I originally got the rename recordings util a couple days ago from the Wiki, but it appears like that one is a version on 3-31-05 before your latest changes so I'll probably be all set now.


Thanks ZaDDaZ for the help
I really like this util. Smile
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#118
2005-05-19, 07:28 PM
garetmax Wrote:Whats happening is that this recording is not showing up in the "XRecord" "ready" list. When I look at my harddrive, the recording is there - the "Lost - Exodus" episode, and it plays fine when doubleclicking in windows explorer. It did get renamed as "exodus.mpg" and it is in the "lost" folder which looks correct.

When I go into the video archiver plugin an error comes up when I select Lost. It shows an unhandled exception... and has an invalid token"]".

When I look in the gbpvr.mdb file - programme section, I don't see this episode in there as either "lost" or "exodus".

When I look in the video archive.mdb file, I see both of these as videofiles in different rows, Exodus.mpg in one row and another row that shows Lost_20050518_20002101.mpg.

I also use comskip but have been using that for awhile without problems.

Any idea? Can I manually edit the database file to get it back in there? Will manually editing the databases mess things up or is there any reason to leave these databases alone?

There should be no problem editing the video archive plug-in database. Having both the old name and new name in the database shouldn;t hurt anything, it just wastes space.

With respect to the unhandled exceptroin in the video archiver, can you provide me more details or, if GBPVR captured some informaiton in its log can you post that or send it to me. I would like to understand what went wrong and fix it. Does the database entries for these files have a "[" in them somewhere?


Jeff
garetmax

Unregistered
 
#119
2005-05-19, 09:32 PM
Hey Jeff,

I manually adjusted the gbpvr database and now I can select the show from XRecord but GB-PVR still crahes when I go into Video Archiver for that show.

I also found another show that crashes in Video Archiver however it is still in XRecord although I have not manually gone into the database for this one.

What logs would be helpful for you? I can e-mail whatever you want to see.
I've also got desktop screen captures and the details from the windows dialog boxes.

Thanks Smile
Will0r
Offline

Junior Member

Posts: 10
Threads: 1
Joined: Mar 2005
#120
2005-05-21, 05:43 PM
Hi,

i've updated my renamerecording.exe to renamerecordings.exe cause of the lost entrys issue.

The problem is that when i start renamerecordings.exe it don't rename anything.

This my renamerecording.log:

System.ApplicationException: Failed to get all recordings ---> System.IO.FileNotFoundException: File or assembly name CommonGBPVRUtilities, or one of its dependencies, was not found.
File name: "CommonGBPVRUtilities"
at RenameRecordings.RenameRecordingsClass.get_Connection()
at RenameRecordings.RenameRecordingsClass.GetAllRecordings()

=== Pre-bind state information ===
LOG: DisplayName = CommonGBPVRUtilities, Version=1.0.1920.38727, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = C:\Programme\devnz\gbpvr\
LOG: Initial PrivatePath = NULL
Calling assembly : RenameRecordings, Version=1.0.1951.39454, Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: CommonGBPVRUtilities, Version=1.0.1920.38727, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities.DLL.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities/CommonGBPVRUtilities.DLL.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities.EXE.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities/CommonGBPVRUtilities.EXE.

--- End of inner exception stack trace ---
at RenameRecordings.RenameRecordingsClass.GetAllRecordings()
at RenameRecordings.RenameRecordingsClass.DoMain()
System.IO.FileNotFoundException: File or assembly name CommonGBPVRUtilities, or one of its dependencies, was not found.
File name: "CommonGBPVRUtilities"
at RenameRecordings.RenameRecordingsClass.get_Connection()
at RenameRecordings.RenameRecordingsClass.GetAllRecordings()

=== Pre-bind state information ===
LOG: DisplayName = CommonGBPVRUtilities, Version=1.0.1920.38727, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = C:\Programme\devnz\gbpvr\
LOG: Initial PrivatePath = NULL
Calling assembly : RenameRecordings, Version=1.0.1951.39454, Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: CommonGBPVRUtilities, Version=1.0.1920.38727, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities.DLL.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities/CommonGBPVRUtilities.DLL.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities.EXE.
LOG: Attempting download of new URL file:///C:/Programme/devnz/gbpvr/CommonGBPVRUtilities/CommonGBPVRUtilities.EXE.

Does anyone know whats wrong?

Thanks for help.
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (31): « Previous 1 … 10 11 12 13 14 … 31 Next »
Jump to page 


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