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
#31
2005-02-18, 11:28 AM
[b Wrote:Quote[/b] (KingArgyle @ Feb. 17 2005,22:36)]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.
The word comskip isn't in any of the renamerecording log files.  I wonder if I have the new renamerecording running?  What are the file sizes and dates I should have?



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
#32
2005-02-18, 05:52 PM
Should be dated 2005-02-15. It can be found on page 3 about half way down the page of this thread.



Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#33
2005-02-18, 07:22 PM
[b Wrote:Quote[/b] (KingArgyle @ Feb. 18 2005,12:52)]Should be dated 2005-02-15.  It can be found on page 3 about half way down the page of this thread.
That is the one I have. Should I have a different .dll to go along with it?
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
#34
2005-02-18, 08:44 PM
Nope probably a bug in my program. I'm just going to post the source code for the program. I really don't have a lot of time right now to take a look at it, but I'm releasing this version to the Public to make modifications as they wish. Just give me credit somewhere for the original implementation.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#35
2005-02-21, 12:34 AM
Tipstir, you will need to direct questions regarding how XRecord v17 works with the CDK Scheduler to Jorm. I'm not sure how he is handling some of the code for that. I know that he calls a method to write out the XML file from a method in the CDK Scheduler, but it requires the information to come in a specific format for it to be written correctly.

So, post a message in the XRecord v17 thread, and Jorm should be able to help you out.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#36
2005-02-22, 09:04 PM
[b Wrote:Quote[/b] (KingArgyle @ Feb. 18 2005,15:44)]Nope probably a bug in my program.  I'm just going to post the source code for the program.  I really don't have a lot of time right now to take a look at it, but I'm releasing this version to the Public to make modifications as they wish.  Just give me credit somewhere for the original implementation.
Thanks for the source, I just printed it out and am going through it.  I really like this feature, and would love to make it work better.  It works perfectly with Seinfeld, and American Chopper, and Lost, but not Star Trek the Next Generation.

The only thing I noticed bad was there was a 2 part Seinfeld called "The Pilot" and it renamed one of the mpgs, and not the other (I know that is what should happen) but in the DB, it renamed both.  I just edited it and changed the second to "The Pilot2".  

The Comskip integration would be real nice, but I just edit the file names after it runs for now.  

What would I need to recompile that code?  I might just do it in VB to see if I can or not.



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
#37
2005-02-22, 11:51 PM
Download SharpDevelop and that will get you a VB.NET or C# IDE for the .NET framework.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#38
2005-02-23, 02:09 PM
[b Wrote:Quote[/b] (KingArgyle @ Feb. 22 2005,18:51)]Download SharpDevelop and that will get you a VB.NET or C# IDE for the .NET framework.
I actually already had that. Duh.... I never used it, but I downloaded it to try the plugin demo. I opened your source in that, and it is much eaiser to follow than in notepad. The things I would like to do are
1) Fire off comskip directly from it, maybe even have a list of excludes by channel. (Why run it on movies from movie channels.)
2) If a file is a duplicate, rename it and leave the date/time. Or just rename the file with the episode instead of the show name and leave the time stuff on all of them.
3)Figure out why some shows like STNG don't work.
4) I would also like to find a way to differentiate between the old and new Battlestar Gallatica.

I had one show (Monarch of the Glen on BBC America) that only got the episode name for 1 of the episodes. I tried manually to run it many different ways, with no luck. Then I went into the database and found that it was the only episode that had an episode name.... Oh well, more wasted time.
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
#39
2005-02-23, 04:08 PM
Feel free to enhance it anyway you wish. You might want to check with JRock, as I know he moved the one method I use from the RecordingUtils.dll that retrieves the shows. He moved it to the DatabaseHelper class instead of having it in the RecordingUtils class.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#40
2005-02-24, 02:55 AM
[b Wrote:Quote[/b] (KingArgyle @ Feb. 23 2005,11:08)]Feel free to enhance it anyway you wish.  You might want to check with JRock, as I know he moved the one method I use from the RecordingUtils.dll that retrieves the shows.  He moved it to the DatabaseHelper class instead of having it in the RecordingUtils class.
Yes, I enhanced it!

Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at RenameRecording.RenameEpisode.updateScheduleTitle(Int32 progOid, String newTitle)
at RenameRecording.RenameEpisode.Main(String[] args)

Some how I managed to remove today's episode of Lost from the database. I copied the mpg file just to be safe.

I did manage to find the comskip problem, and added something else.

What I did with the problem with the comskip files not being renamed was I added "path +" to the search name in the If Exist part for the file.txt. It was looking in the gbpvr dir. I added some Console.WriteLine to see what it was looking for, and added some flags if if exist, and if not exist, and I found it wasn't finding the *.txt so it never tried to rename it.

Also today's Lost was "Lost .... In Translation". I thought that the "." character would bugger file names, so I added it to the part where you change characters to an underscore. It all seemed to work, but I don't know when I buggered the database. I think it was because I was testing the rename while comskip was running on the file, and it couldn't rename it due to the file being open. Then the database couldn't find the *.mpg anymore so it deleted it.

I had a heck of a time figuring out what/how to add in as resources in Sharp Develop, and maybe I missed something, but it compiled with 0 errors.

I was working on a batch file at work today, and came across using the move command to rename a file, then I saw that is how you did it! I would not have understood what it was there for if I hadn't been doing the same thing earlier today.
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 6 … 31 Next »
Jump to page 


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