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 … 331 332 333 334 335 … 433 Next »
2.2.6 Recordings not working, maybe related to SQLITE

2.2.6 Recordings not working, maybe related to SQLITE
exiton
Offline

Junior Member

Posts: 13
Threads: 3
Joined: Oct 2009
#11
2011-08-29, 11:34 PM
I'll do a clean reinstall of the latest version and update.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,122
Threads: 957
Joined: May 2006
#12
2011-08-29, 11:55 PM (This post was last modified: 2011-08-30, 03:53 AM by mvallevand.)
For my problem I think NEWA is keeping the database locked and afterwards NPVR isn't able to do anything with the database until the recording service is restarted.

After applying the quick fix UJB posted on this thread http://forums.nextpvr.com/showthread.php...SearchLite I cannot duplicate any SearchLite or NEWA problems.

Martin
exiton
Offline

Junior Member

Posts: 13
Threads: 3
Joined: Oct 2009
#13
2011-08-30, 11:24 AM
Ok, after a clean reinstall (uninstalled, removed NPVR directories, rebooted, reinstalled), it is giving me the same error in the log when trying to record a show using TV Guide. I did reinstall searchlite and guideplus. The only thing I brought from the old installation was pointing it to my mc2xml file.

Code:
2011-08-30 07:16:08.831    [ERROR][1]    Unexpected error saving scheduled recording: System.Data.SQLite.SQLiteException: SQLite error
14 values for 13 columns
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at NUtility.ScheduledRecording.Save()
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#14
2011-08-30, 04:44 PM
Is it a recurring recording or one-off recording?

Is it a particular show, or any show that is causing problems?
TVHelp
Offline

Member

Posts: 84
Threads: 16
Joined: Sep 2011
#15
2011-09-06, 03:22 PM
I am new to nPVR, just loaded this weekend. I have just tried to install the guidePlus and am having the same issue with not being able to set a recording of any kind - not via TV Guide nor manually! I don't have any other plug-ins or utilities added except the xmlTV (mc2xml). I guess I will have to uninstall nPVR and re-install to see if I can get my record function back. I would be greatly interested in using guidePlus, but I think it needs some more detail about how to setup (what directories, etc.)

I saw one post that said something about mapping the channels to the new guidePlus xml, this is not indicated in the instructions. Can someone confirm that needs to be done?

Otherwise I will simply be interested in seeing how this post gets resolved.
Redlow
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Jun 2011
#16
2011-10-22, 01:51 AM
I am also having the same issue. I just updated to 2.2.6, and tried GuidePlus for the first time. We all have GuidePlus in common, I have noticed.

Code:
2011-10-21 21:30:44.037    [ERROR][1]    Unexpected error saving scheduled recording: System.Data.SQLite.SQLiteException: SQLite error
14 values for 13 columns
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at NUtility.ScheduledRecording.Save()
2011-10-21 21:30:44.039    [DEBUG][1]    TV Listings: Got event RELOAD_RECORDINGS

Funny, pre-existing scheduled recordings are still recording fine. I just can't schedule new recordings of any form... whether quick, series, etc. Nor does this work in the OOB TV Guide, or TV Listings, or NEWA.

David
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#17
2011-10-22, 02:13 AM
I've never used GuidePlus. A couple of things that could cause it though is if it's overwriting one of the built in dlls with an older version, or if it's changing the database. Does anyone know if that is the case?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,122
Threads: 957
Joined: May 2006
#18
2011-10-22, 04:22 AM (This post was last modified: 2011-10-22, 10:32 PM by mvallevand.)
I had a look in guidePlus and it creates a trigger in NPVR.db3

Code:
CREATE TRIGGER [recordingInserted]  AFTER INSERT ON [SCHEDULED_RECORDING]  
FOR EACH ROW   BEGIN  
insert into RECORDED_EVENT  (rec_oid, oid,  title, subtitle, description, start_time, end_time,  channel_oid, unique_id, rating, original_air_date, season, episode)  
select new.OID, *  from EPG_EVENT
where new.name = EPG_EVENT.title and EPG_EVENT.start_time = new.start_time and EPG_EVENT.channel_oid = new.channel_oid;
END;

EPG_EVENT and RECORDED_EVENT are not the same so the insert syntax is wrong and carpeVideo needs to update the utility. To fix this so NPVR works (which breaks guidePlus) you need to use sqlite to update the database using this command

drop trigger recordingInserted

A command line example might be

sqlite3.exe \Users\Public\NPVR\npvr.db3 "DROP TRIGGER recordingInserted"

If you still want to experiment with guidePlus and you are experienced enough, you need to recreate the trigger and replace the * with oid, title, subtitle, description, start_time, end_time, channel_oid, unique_id, rating, original_air_date, season, episode or create a field called dvb_service_event_id in the RECORDED_EVENT table that guidePlus adds.

Note my earlier comments in this thread weren't related to this problem, that was an NEWA problem that occurred at the same time.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#19
2011-10-22, 05:00 PM
Yep, that'd do it. Good spotting.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#20
2011-10-22, 11:59 PM
Perfect example of why I dont like other developers changing the database. Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,553 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,410 2022-03-19, 03:28 AM
Last Post: sub
  HDHomerun recording bizzarely not working Jean0987654321 3 2,103 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 15,077 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,122 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,153 2021-01-07, 08:47 AM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,472 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,896 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 4,089 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,577 2020-09-15, 12:19 AM
Last Post: mattman1968

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

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

Linear Mode
Threaded Mode