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 … 42 43 44 45 46 47 Next »
Cancel deletes manual recording.

 
  • 0 Vote(s) - 0 Average
Cancel deletes manual recording.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#1
2006-12-06, 08:04 AM
Yesterday I cancelled a manual recording in progress through EWA, because the last part wasn't interesting. Later I discovered that it had been deleted.:o I did a few tests and it seems that this only happens through the EWA. When I cancel a manual recording through the GBPVR-interface it is not deleted.
On a side note which might be related. I noticed (before) that when I delete or cancel a recording through EWA the screen is not refreshed, first I thought nothing happened and I clicked the same button again.
I thought this might be the reason for the deleted manual recording, but I tested with one click on the cancel button, the screen is not refreshed but the recording is gone. When I reload the page the recording doesn't show up any more. I hope you get the essentials from my story.Smile
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2006-12-06, 11:59 PM
I'll take a look and see if I see anything that would cause this.....
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2006-12-07, 04:17 AM
Ok..code looks good.....

Also...tested on my machine and clicking on cancel simply cancels the recording.......

One thing I noticed is that it may take a second or two before the show is flagged as not recording.......if you click cancel again and the recording is set in an available status the recording will be deleted....so your double click is the cuplprit.

After clicking cancel try hitting the refesh button on your browser and see if you now see what was recorded as being available.

A while back I added code to hold your scroll postion on manage recordings so if you click on cancel and you end up in the same spot it is probably becuase of that code in combination with the recording not yet registering as available so it may appear like nothing happend when you clicked on cancel.....

Try the cancel and then browser refresh and see what happens....

Let me know.
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
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#4
2006-12-07, 09:32 AM
Hi UJB, thanks for looking in to it.
I tried to do some more tests, but got the old error again: EWA locking up the recordingservice. I never got completely rid of it, but it occurred very rare. So I didn't get any reliable test results:o . Now I am kind of sick of the whole thing.:p It really must be something on/with my system, it seems that I'm the only one with this problem.
I think I will do a xp-reinstal during the weekend, the wife is gone, so that makes a good opportunity I guess.Wink
When I am back in business I'll let you know. Thanks anyway.

cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#5
2006-12-07, 12:41 PM
Rebooted the system and everything works ok again (for now).
Did some tests.
When I cancel a recording (in progress) in EWA it stops recording, the rec is not deleted, the EWA screen does not refresh=the cancel button for the recording is still there. Close EWA, start it again, everything is how it should be= delete button is there instead of cancel button. Recording is still there too.
However.....if I cancel a recording, the recording stops but the cancel button remains. I click the reload button in the browser, the recording gets deleted:eek: In the gbpvrrecordingexe.log at both instances there is a "cancel recording request"
Some kind of caching problem maybe:confused:
I still think I will reinstall windows tomorrow or the day after. I will ofcourse test if there is a difference then.

cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#6
2006-12-08, 12:49 AM
HtV Wrote:Rebooted the system and everything works ok again (for now).
Did some tests.
When I cancel a recording (in progress) in EWA it stops recording, the rec is not deleted, the EWA screen does not refresh=the cancel button for the recording is still there. Close EWA, start it again, everything is how it should be= delete button is there instead of cancel button. Recording is still there too.
However.....if I cancel a recording, the recording stops but the cancel button remains. I click the reload button in the browser, the recording gets deleted:eek: In the gbpvrrecordingexe.log at both instances there is a "cancel recording request"
Some kind of caching problem maybe:confused:
I still think I will reinstall windows tomorrow or the day after. I will ofcourse test if there is a difference then.

cya Hans

Nope....not caching......you are just experiencing the delay of the database being updated with the new status....and clicking reload would cause it to get deleted (my bad....:o)

When you click on cancel the page is resubmitted with a flag to cancel the recording....so the page restarts.....sees that it is to cancel a show....it then cancels the show and loads the recordings to the page again...all this happens fast enough that the database does not have the status changed in time for the reload of the programs to pick up the change in status.

When you click reload the query string to cancel the program is still set...thus deleting the program. When a program is actively being recorded and you call the API it cancels the program....if the program is not being recorded calling the API deletes the recording......that is why when you click on refresh the recording gets deleted.

I could try introducing a second or two wait between the cancel and the reload of the data to see if that helps.

Are you using Access or SQLite database?
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
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#7
2006-12-08, 10:40 AM
UncleJohnsBand Wrote:Are you using Access or SQLite database?
`
I'm using sqlite.
After all I'm glad I tested again, giving you the opportunity to find out what happened.
Question (just curious): Would the same happen on a faster system or would the problem be the same? I'm surprised that it didn't happen to other people.
I hope that you manage to solve the problem, fwiw the 2 secs delay sounds good to me.

cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#8
2006-12-08, 09:31 PM
Well....I found a stupid bug that I belive was the cause of this whole thing....I think it happend when I added the Treeview code....

I was loading the recorded shows into memory prior to canceling the recording.....:o

That said....give this patch a try and let me know how you make out....
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
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#9
2006-12-08, 10:00 PM
Hi, UJB
I have not thoroughly tested yet but the first test looks great. Everything working as it should. Great job.Smile
Any chance that this also was the cause of my recordingservice being locked up by EWA? I guess I'll have to try.Wink
We'll see, thanks alot so far. You make me doubt the xp reinstall I had planned for tomorrow.:confused:

cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#10
2006-12-08, 11:27 PM
I tried several times, it works great, quicker too I think. Is that possible?
I only noticed now that sometimes the trayicon doesn't work (change color). I don't really need it because I only watch through the mvp, but it's handy to see what the tuner is doing.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
« 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
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,040 2018-07-11, 12:12 AM
Last Post: snagglewest
  Server Error when settign a manual recording in NEWA martinu 2 2,373 2017-01-23, 01:30 AM
Last Post: UncleJohnsBand
  Manual recrord icon broke snagglewest 0 2,241 2016-08-21, 05:18 PM
Last Post: snagglewest
  Cancel Recording in Newa Not Working odin 1 2,538 2016-05-24, 07:24 PM
Last Post: UncleJohnsBand
  Extra Delete Button for manual recordings? jksmurf 0 2,312 2016-04-09, 01:09 AM
Last Post: jksmurf
  Trouble with manual recording - DateTime fullStartDate = DateTime.Parse(StartDateBox. milanwb 8 4,540 2015-09-01, 12:26 AM
Last Post: UncleJohnsBand
  Duplicate recording Scheduled in NEWA? jksmurf 17 6,247 2015-01-10, 02:49 AM
Last Post: UncleJohnsBand
  Bug: NEWA 2.11 - Manual recording returns server error '/' haste18 3 1,867 2014-02-08, 01:12 AM
Last Post: UncleJohnsBand
  Bug in manual recording ? giorgioclimb 1 1,357 2014-01-12, 05:33 AM
Last Post: UncleJohnsBand
  Deleting an active recording crashes rec service (and newa) softfoot 10 4,023 2013-11-28, 06:22 PM
Last Post: johnsonx42

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

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

Linear Mode
Threaded Mode