NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 12 13 14 15 16 … 47 Next »
NEWA issues with SearchLite

 
  • 0 Vote(s) - 0 Average
NEWA issues with SearchLite
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#1
2011-08-30, 12:23 AM
UJB, further to this post http://forums.nextpvr.com/showthread.php...post418173 I was having troubles saving a recording and then removing it because of a locked database.

I think I solved it by adding aReader.Close(); to line 187 of web/App_Code/Classes/NPVRSchedule.cs

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2011-08-30, 03:10 AM
mvallevand Wrote:UJB, further to this post http://forums.nextpvr.com/showthread.php...post418173 I was having troubles saving a recording and then removing it because of a locked database.

I think I solved it by adding aReader.Close(); to line 187 of web/App_Code/Classes/NPVRSchedule.cs

Martin

Thanks.....it should look as below....the close was actually missing in two spots.....I'll include this in the next release.

Code:
//Execute the read
            aReader.Read();
            try
            {
                recOID = aReader.GetInt32(0);
                Logger.Info("@@@@@");
                Logger.Info("Found matching recording");
                Logger.Info("@@@@@");
                [COLOR="#FF0000"]//close the reader
                aReader.Close();[/COLOR]
                return ScheduledRecording.LoadByOID(recOID);
            }
            catch (Exception)
            {
                [COLOR="#FF0000"]//close the reader
                aReader.Close();[/COLOR]
                return null;
            }
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#3
2011-08-30, 03:31 AM
Thanks UJB,

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,718 2020-05-02, 01:02 AM
Last Post: cweseloh
  gbpvr.com still somewhere in the NEWA code? jksmurf 0 2,079 2019-02-26, 01:29 AM
Last Post: jksmurf
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,030 2018-07-11, 12:12 AM
Last Post: snagglewest
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,123 2018-07-03, 03:26 AM
Last Post: jksmurf
  Newa snaitaz 8 4,701 2018-05-17, 09:30 PM
Last Post: sub
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,767 2018-05-09, 12:50 AM
Last Post: jksmurf
  Classic web interface issues turndave 3 3,507 2017-12-18, 04:07 AM
Last Post: turndave
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,409 2017-12-03, 12:48 AM
Last Post: snagglewest
  Difference between NPVR and NEWA recordings lists Bobins 4 5,112 2017-09-27, 10:16 PM
Last Post: Bobins
  Legacy NEWA stu2j 4 4,534 2017-07-19, 12:21 AM
Last Post: stu2j

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

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

Linear Mode
Threaded Mode