NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 42 43 44 45 46 … 193 Next »
separate recording and season-dump.xml

 
  • 0 Vote(s) - 0 Average
separate recording and season-dump.xml
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2010-03-10, 05:01 PM
i would love to see the season recordings and recording info in separate dumps, as it makes it really hard to separate afterwards,have to get an xml parser working,and hope it doesn't take a ton of code to do..
could easily import from another machine with a batch file if they're separate, as it is, it imports season recordings also...which is not usable..
plus for those just importing old dumps...not needing extra season info as it's old..

sure, i can edit the file but it makes scripting import very hard to do...
and just seems to make sense to separate them as they serve different purposes..

[and most people don't change season recordings daily, so wouldn't need multiples backed up for season recs.[tho not opposed to that]
and maybe put them into a 'backup' subdir for cleanliness..Smile

any changes in this area for next release?
[before i muffle thru making a program to do it the hard way]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2010-03-10, 05:16 PM
All I can give you is a maybe. I've already bit off far too much for the next release.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2010-03-10, 09:22 PM
sounds good...i'm almost done with my script anyways...Smile

my PCH died...Sad
so i had to make another pvr for other room, and most of my recording is done on main server..so wanted these to show up on both machines for viewing..

Good news, the Intel g45 is finally perfect in win7 offering full acceleration and smoothness..Big Grin [and very decent pic quality]
can't wait to see the new features..Wink
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#4
2010-03-10, 09:53 PM
On top of this, can the season recordings dump save the "priority" value? When you import recordings back in, the priority not saved in the dumped XML. So you need to manually edit the database to get the priorities set up.
Author of Weather (NPVR) & Weather2 (GBPVR)
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2010-03-11, 12:27 AM
i second that....forgot about that part...
i have to backup the whole db cuz the dumps don't include everything necessary..
then i have to delete everything not related to recordings to get a fresh start..
you could save both season and priority/recording group settings to one file..recordings to another..
then users could import them separately but fully...

it would really be a life saver for many, so hope it makes the 'definitely to-do' list..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#6
2010-03-11, 01:27 AM
Would it be possible to roll your own?

A batch file using an sqlite exe to "selct blah where blah ..." piped into a txt file might be easier than all that xml stuff.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2010-03-11, 06:50 AM
finally figured out how to remove season recordings with vbscript...Big Grin

Code:
Set objXml = CreateObject("MSXML2.DomDocument")
objXml.async = false
objXml.load( "recording-dump.xml" )
objXml.selectNodes ( "/recordings/recording[status='SEASON'] ").removeAll
Call objXml.save( "recording-dump-no-season.xml" )
Set objXml = Nothing

nice and simple looking right? lol
i had to find that trick from a google translated page...bad forum spaces and all..arrggh..Smile
but now it works great!

Njoy till Sub gets the fix in...
now i just have to add net-path adjustments...Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2010-03-11, 09:12 AM
Graham Wrote:Would it be possible to roll your own?

A batch file using an sqlite exe to "selct blah where blah ..." piped into a txt file might be easier than all that xml stuff.

been there done that, it's really complicated, several tables of data to store, and dos doesn't like some of the chars and can't shuffle them around properly...
so a real solution would be much better..

i do have scripts to grab single shows, or send them from server from postprocessing..
but still run into occasional char that stuffs up the works..["&" among others]
i could just build a autoit .exe to handle the datatypes properly..
maybe just setup a temp link inside sqlite to other db and copy data between tables..
that would get around the odd chars,sqlite would do the shuffling..
but that's only for my importing into another pvr...

still need the extra info for backups tho...so still a wish...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Overwrite oldest recording with lock feature djenson 0 616 2023-09-28, 10:37 AM
Last Post: djenson
  Recording status displayed when finished coreymichael 6 1,202 2023-08-31, 05:32 PM
Last Post: sub
  Recording scheduling mzanetti 2 1,014 2023-07-28, 05:24 PM
Last Post: sub
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,855 2022-09-12, 12:58 AM
Last Post: mvallevand
  Add manual recording - default time markn62 0 985 2022-02-14, 12:46 AM
Last Post: markn62
  Sorting Options for Recurring Recording List pkscout 1 1,014 2021-11-23, 07:51 PM
Last Post: sub
  Remove failed recurring recording artmetz 0 831 2021-11-17, 07:55 PM
Last Post: artmetz
  Sort by Season Episode stuberwg 0 844 2021-06-15, 02:21 PM
Last Post: stuberwg
  Edit recurring recording oliroe 8 2,372 2020-12-17, 08:15 PM
Last Post: oliroe
  Cleaning up recordings in order of recording date TheRealRoland 11 4,166 2020-12-09, 05:49 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