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 … 293 294 295 296 297 … 433 Next »
NPVR2.5.5 Database Playback Position Table Change?

NPVR2.5.5 Database Playback Position Table Change?
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#1
2012-09-05, 10:47 AM
I have come across a couple of videos where it now always asks if you want to resume from the same point.
On checking the database with sqlspy it appears that the file naming has changed with NPVR2.5.5 in the playback position table. Before it contained the full path (//Tower/Adult Content/Video name.mkv)and now only contains the file name (Video name.mkv). I think these files were partly watched before upgrading to 2.5.5.

Would deleting all the entries with full path names in this table be the best way of dealing with this? - i.e. pre NPVR 2.5.5 entries.
Think I might just back up the database first Big Grin
It's not an overly complicated system - it's more - overly simple operatives  Huh
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#2
2012-09-05, 04:27 PM
It should still find the position info in the logs assuming the filename part is exactly the same ie 'Video name.mkv'. It looks for a match in the database ending with the filename part.

If you zip and attach your npvr.db3, and actual filename, I can check it out.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,197
Threads: 958
Joined: May 2006
#3
2012-09-05, 04:40 PM
There is a issue in 2.5.x when the same filename was played from multiple locations in the older database, which I could only resolve by removing the entries with duplicate records.

Martin
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#4
2012-09-06, 05:27 AM
I found that the files in question had different playback positions in the old and new entries so it was always using the old resume position. Changing the playback position data to the duration data (as in fully watched) in the database has solved the problem.

I know it is not really a problem but now every file that was played before and since 2.5.5 was installed has 2 entries in the table - any simple way to remove the redundant entries?

I'd rather not share this part of the db given the file path I gave earlier Big Grin:o
It's not an overly complicated system - it's more - overly simple operatives  Huh
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#5
2012-09-09, 08:30 AM
Finally Got this sorted.
What was happening was the old filename entries with file paths that still had playback positions - i.e. partly watched before upgrading to NPVR 2.5.5 were no longer being updated, a new entry (without file path) is being created instead and the old entry remains with the old resume position.

In the end I used SQLiteSpy to run SQL DELETE on all the entries in the table with \\ or a Drive letter in the filename using the "LIKE %". I figured that after a month since updating, the resume positions are not going to be of much use. (Did it on a copy of the db first)
It's not an overly complicated system - it's more - overly simple operatives  Huh
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  uray encoder setup with ir change 105 3 1,470 2023-03-20, 12:30 PM
Last Post: mvallevand
  Comskip Playback Odd Behavior kirschey 3 1,807 2021-09-27, 06:16 PM
Last Post: sub
  NextPVR's epg database and xml export hugo84 2 2,653 2020-05-31, 12:01 PM
Last Post: hugo84
  EPG is off by 1 hour before daylight saving change tonight MCEabused 3 2,163 2020-04-05, 06:18 PM
Last Post: sub
  Black Screen During Recording and Playback kirschey 2 1,847 2020-02-29, 04:48 PM
Last Post: kirschey
  No video or audio from start of playback smiffypr 8 3,778 2020-02-05, 05:11 PM
Last Post: smiffypr
Photo Server database error mnthope 4 2,277 2019-12-23, 11:28 PM
Last Post: sub
  Audio/video sync problem on playback and program freeze when resuming zer 34 13,974 2019-12-21, 02:49 PM
Last Post: HarryH3
  Cannot access NextPVR server after internet service change tskdrk 5 2,841 2019-12-17, 01:12 AM
Last Post: sub
  Faster Playback? Rage321 5 2,643 2019-10-31, 01:23 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode