NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 340 341 342 343 344 … 433 Next »
Adding Season & Episode (ie, S01E03) to Recording File Name

Adding Season & Episode (ie, S01E03) to Recording File Name
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#11
2011-09-18, 04:41 PM
imilne Wrote:I'm intrigued, but mainly by how long you say it takes to run. Could you post the original XML file so I could have a look at it?

If all you're doing is appending some elements from one place in a programme's entry to another (the end of the description node), that shouldn't be too taxing (I'd hope).

Iain

Sure, I can post it but it's like 135 mb so I'll have to post it on a web share site. I'll upload it and post the link in a little bit.
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#12
2011-09-18, 04:48 PM
Iain, I zipped the xml and posted it on mediafire.

heres the link (only like 11 MB zipped)

http://www.mediafire.com/?d2r3r09beim9tzf
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#13
2011-09-18, 05:32 PM
I'm not great with vbscript, so can you explain what you're trying to do with the actual edit: you want to take the description for each programme, and either append:

- (Released: <somedate>)
- (Original Air Date: <somedate>, Episode: <episodenumber>)
- (Original Air Date: <somedate>)
- (Episode: <episodenumber>)

And that's done based on what information is (or isn't) available for a given programme?

I can parse the file in around 15s with C#, and getting it to do the above shouldn't add much time to that (Core 2 Duo 2.5Ghz).

I couldn't actually get your script to run: "Error processing resource 'xmltv.dtd'."

Iain
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#14
2011-09-18, 05:55 PM
Forgot that you have to have the xmltv.dtd layout file in the xml subdirectory.

I've attached it here.
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#15
2011-09-18, 05:58 PM (This post was last modified: 2011-09-18, 06:24 PM by Northpole.)
imilne Wrote:- (Released: <somedate>)
- (Original Air Date: <somedate>, Episode: <episodenumber>)
- (Original Air Date: <somedate>)
- (Episode: <episodenumber>)

The script adds the release year to the description field for movies. If it's a tv show, then it add as much info as it can find, (ie. either air date or episode number or both) to the description field.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#16
2011-09-18, 06:34 PM (This post was last modified: 2011-09-18, 07:22 PM by imilne.)
Give the attached a go and see how you get on.

Usage: XmltvUpdate.exe <inputxmlfile> <outputxmlfile>

Chances are I'll have done something wrong, but it's just a first attempt...

Iain
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#17
2011-09-18, 06:55 PM
As sub pointed out the zap2it episode number is not really valid, and probably not worth extracting. I did planning on adding this to imageGrab (not Lite) because it already does the heaving lifting. In Media\Show there is a showname.xml and it already has the ids for thetvdb, imdb, tv.com and zap2it making the rename process quite simple.

I would probably not allow a lot of flexibility I'd name the

tvseries.s01e01.episode title

but there would be an option to move series to their own folder

Is there interest in this?

Martin
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#18
2011-09-18, 07:09 PM
Iain,

I get a .net error that says I need 4.xxx installed. I'll try it again later after I install the .net update. I think I only have v3.5 install now.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#19
2011-09-18, 07:22 PM
Oops, sorry. Have updated it to be .NET 2.

Iain
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#20
2011-09-18, 08:03 PM
mvallevand Wrote:As sub pointed out the zap2it episode number is not really valid, and probably not worth extracting. I did planning on adding this to imageGrab (not Lite) because it already does the heaving lifting. In Media\Show there is a showname.xml and it already has the ids for thetvdb, imdb, tv.com and zap2it making the rename process quite simple.

I would probably not allow a lot of flexibility I'd name the

tvseries.s01e01.episode title

but there would be an option to move series to their own folder

Is there interest in this?

Martin

Yes, I'd be interested. I run imagegrablite on every show I record.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manually Adding FM Radio quek9 9 3,281 2024-11-19, 08:29 PM
Last Post: mvallevand
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,703 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,080 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,144 2023-11-20, 03:42 PM
Last Post: sub
  incorrect frequency in adelaide .ini file spin35 5 3,100 2023-02-01, 05:40 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,355 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,764 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,385 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,104 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  ts file shows length too long? SuttonWillow 2 1,967 2021-03-15, 01:56 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode