NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 158 159 160 161 162 … 1231 Next »
Behavior of - <CheckForRenamedRecordings>

 
  • 0 Vote(s) - 0 Average
Behavior of - <CheckForRenamedRecordings>
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#1
2009-03-08, 08:45 AM
I finally managed to get GBPVR to automatically convert from TS to MPG2, so I have been going back through my old TS recordings and xcoding them outside GBPVR with the aim to have everything on the drive as MPG2 from now on.

I cant get the <checkforrenamedrecordings) to work the way I think it should, I have it and <autoremovemissingrecordings> set to true, but when I delete the TS file from the directory leaving behind the MPG it dissapears from the recordings menu.

When does check remaned run and what triggers it? PVRx2 startup or when you enter recordings plugin? Or Pehaps with the recordingservice?

I assume autoremove runs after check renamed, (otherwise it would never work?)

Ta
[SIZE="4"]Elmo Putney[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#2
2009-03-08, 04:10 PM
Elmo Putney Wrote:I finally managed to get GBPVR to automatically convert from TS to MPG2, so I have been going back through my old TS recordings and xcoding them outside GBPVR with the aim to have everything on the drive as MPG2 from now on.

I cant get the <checkforrenamedrecordings) to work the way I think it should, I have it and <autoremovemissingrecordings> set to true, but when I delete the TS file from the directory leaving behind the MPG it dissapears from the recordings menu.
From memory, it only supported going from .mpg or .dvr-ms to something else. It wasnt until very recently I added .ts as one of the source extensions. If its not working for you, then it might have been post 1.3.11.

Quote:When does check remaned run and what triggers it? PVRx2 startup or when you enter recordings plugin? Or Pehaps with the recordingservice?
Whenever the app has to load the recording list, it checks that the recording file exists on disk. If it doesnt, and <CheckForRenamedRecordings> is set to true it'll look for other video extensions and update the database if found.
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#3
2009-03-08, 06:06 PM
Quote:then it might have been post 1.3.11

It was listed in the 1.3.11 release notes, I'll have another play and if I cant get it working it's no big issue I can always use vid import.

Thanks
[SIZE="4"]Elmo Putney[/SIZE]
BigMoose
Offline

Posting Freak

Posts: 838
Threads: 44
Joined: Jan 2008
#4
2009-03-08, 10:08 PM
I've been wondering the same thing - I'm trying to compress a load of existing recordings and not lose the info in the recordings db about them. I converted a .mpg into a .avi, removed the file and it was gone from the recordings. If you convert directly after the recording ends, does it cope ok? For existing recordings is there not a lot I can do? Oddly Handbrake wont convert to a .ts...
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#5
2009-03-08, 11:06 PM
Quote:If you convert directly after the recording ends, does it cope ok?

If your talking about the processing tab in config then yes all the show details are preserved.

From what sub says check for renamed should deal with mpg to avi, are you sure you have it set in config xml?
[SIZE="4"]Elmo Putney[/SIZE]
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,641
Threads: 148
Joined: Mar 2006
#6
2009-03-08, 11:27 PM
I have been having a similar problem converting ts to mpg recording through postprocessing.bat the mpg would stay showing in about seven out of ten cases but the other three would disappear from the recording menu, so there is something really odd going on at the moment. Finally I decided it was easier just to turned autoremovemissingrecordings off.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2009-03-09, 01:28 AM (This post was last modified: 2009-03-09, 01:37 AM by pBS.)
you can adjust yourself after conversion if you'd like...easy..just update filename in db..

i can throw together a batch file to do it for you, pretty simple actually,i think just a line of sqlite will do...Smile or you could insert it into your batch at appropriate place..

save as updfname.bat:
Code:
set oldpath=%cd%
cd /d "%~dp0"

sqlite3.exe "gbpvr.db3" "UPDATE RECORDING_SCHEDULE SET filename = '%2' where filename like '%%%~nx1';"

cd /d %oldpath%

to run type: updfname.bat "x:\path\file.ext" "x:\path\file.new-ext"

or just steal the line and insert and adjust for your compression script input/output...
that way no guesswork involved..Smile

might wanna add check to see if new file exists before adjusting just to be sure bad paths aren't sent...
and %%%~nx1 == *filename.ext so path oddities shouldn't be a problem...
could even be used from vid library with minor modifications..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#8
2009-03-09, 08:43 AM
Cheers pBS I have a look at it tonight.
[SIZE="4"]Elmo Putney[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#9
2009-03-10, 07:49 AM
oops, forgot to mention that you need to save the batch file into gbpvr dir and have a sqlite3.exe in that path as well for it to work as batch..
i would keep a db editor handy to check results when you try it so you can make corrections if need be...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#10
2009-03-11, 09:40 AM
I went back and had another play with this (first turning off <autoremovemissingrecordings>)

My conclusion is that (checkforrenamedrecordings> works if I use ffmpeg to do the conversion from TS to mpeg, previously I had used the superC interface and chose mencoder, for some reason these mencoder files are not picked up by <checkforrenamedrecordings> it may be something very simple like a small ouput file name change that I didn't notice like an underscore to a space but I dont think so.

Sub,
Does <checkforrenamedrecordings> look at anything other than the filename? does it look for a file size?

Anyway my problems are fixed.
[SIZE="4"]Elmo Putney[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PC Client weird behavior KS4UA 16 5,312 2010-01-26, 03:28 AM
Last Post: kruglovus
  Strange Skip Forward / Back Behavior Hodr 1 1,515 2009-10-26, 11:45 PM
Last Post: johnsonx42
  Suddenly slow? <CheckForRenamedRecordings> dennit 7 2,440 2009-03-28, 04:53 PM
Last Post: sub
  EGP Empty - Sudden behavior #66 5 2,212 2009-02-17, 05:51 PM
Last Post: #66
  <CheckForRenamedRecordings> work with ts>mpg? Elmo Putney 3 1,955 2008-12-22, 09:44 AM
Last Post: stustunz
  v1.2.13 Strange Arrow Keys/Mouse behavior sgl 2 1,332 2008-09-24, 01:18 AM
Last Post: sgl
  Skin behavior in PVRX2 zaldwaik 4 1,650 2008-06-29, 05:59 PM
Last Post: zaldwaik
  Strange config.xml behavior wndrbear 5 1,649 2008-03-18, 02:39 AM
Last Post: wndrbear
  Strange LiveTV Behavior... Firetoad 2 1,354 2008-03-12, 02:36 AM
Last Post: Firetoad
  expected behavior with two tuners and back to back recordings pvrproblems 6 1,654 2008-01-15, 05:12 PM
Last Post: pvrproblems

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

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

Linear Mode
Threaded Mode