recording zombies (deleted, but still in list)
#1
ServerWMC PVR.WMC client 1.0.1 server 1.0.0.60 1225

Kodi/openelec 20160124 RPi2 build

When I delete recordings, it's working, the show is gone from the share where its stored, and WMC doesn't see it any longer, but after initially disappearing from the TV->recordings list, it comes back (albeit with a check mark to show it's been watched)

If I try to watch it, it of course fails because the file is really gone. If I delete it again, it disappears for a few minutes again, and then comes back.

??

Thanks,
Mike
Reply
#2
That's not as surprising as it sounds. To speed up the gui we immediately delete the recording from a cache of recordings that serverwmc keeps for kodi and in the background we do the actual file delete. So I'd say this internal cache is getting refreshed before the background delete completes. Post the serverwmc log on pastebin.com after this happens and note the time you did the delete, then I'll see if there is a clue in the logs as to what is causing this.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#3
Ok, here's a log: http://pastebin.com/tjQLQM29

It starts yesterday, when I deleted an episode of "Gotham" and continues through this morning when I re-deleted the entry. (the file was actually missing from the share, at this point.) and ends shortly after seeing that it had come back, again.

If it was a simple cache issue, I would expect it to stay gone after a 2nd delete, but that doesn't seem to be the case. They all come back into the list, repeatedly.

Thanks!
Reply
#4
So they come back and never leave? If so, you are right, that doesn't fit my theory. Your log doesn't show any problems. We really like to see the whole log though because it shows us how you have configured serverwmc and some details about your setup.

When you say deleted it from a share, does that mean it is not the recorded tv folder, but a different folder?

If you restart kodi, the zombie files are still there? How about if you restart serverwmc?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#5
I glued the 31st log (complete) to the end of the 30th log in the paste bin, so the info from the beginning of the log is in there, just not at the beginning of the logged info.

No, it is not the RecordedTV, it's an additional folder (On a NAS) that has been configured as a location for recordings (media library?) in WMC.

Restarting Kodi did not affect the zombies. Restarting serverwmc eliminated zombies, and delete seems to be working correctly now. (I deleted another show, and although the folder's count didn't update quickly, it eventually decrease by one, instead of the show coming back.

So at this point, I guess it's not reproducible.

Thanks!
Mike
Reply
#6
The folders count never updates quickly but that is by design - because the count is basically a hack (we are just renaming the folder). Someday when kodi itself supports the episode count this won't be needed.

I am thinking its somehow related to the files being in a watched folder. I will think on this and try to reproduce on my test machine. Please let me know if it comes back and, if possible, try to notice what sets it off (I know, that's not easy). Thanks.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#7
Thanks for looking at it, I'll keep an eye out and gather whatever info I can, if it happens again.

Thanks!
Reply
#8
Ok, it's gotten into that state again, it actually started a few days ago, but I didn't get the log copied until today:

http://pastebin.com/riha8HVc

It's still in that state now, and I have logs from before (from 0305), and up til now, if you should need them.
Reply
#9
I am assuming all the recordings shown in the log showed this problem. Assuming restarting swmc clears the problem, can you restart it and then delete a recording, then post that log too? Make sure you delete it from the 'Qrecordings' directory.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#10
Here's a log after restart.

http://pastebin.com/TkWcmbRx

File deleted ~18:46 and didn't come back by the time I copied the log at 19:43. Normally it would show up again at the next client refresh.

Thanks!
Reply
#11
It happened again today: New pastebin:

http://pastebin.com/zAcztGWg
Reply
#12
Thanks for the logs. I plan on looking into this, but haven't had time recently.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#13
(2016-01-31, 19:04)mikeb8591 Wrote: Ok, here's a log: http://pastebin.com/tjQLQM29

It starts yesterday, when I deleted an episode of "Gotham" and continues through this morning when I re-deleted the entry. (the file was actually missing from the share, at this point.) and ends shortly after seeing that it had come back, again.

If it was a simple cache issue, I would expect it to stay gone after a 2nd delete, but that doesn't seem to be the case. They all come back into the list, repeatedly.

Thanks!

I am experiencing the exact same issue! If you need any logs or anything I can provide. But my circumstances sound identical. I came here to post and find a solution, and found this thread.
Reply
#14
I have spent some time trying to find the cause but so far haven't been able too, the main problem is I can't reproduce it. If any of you guys find a set of steps that make this happen every time that would be great.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#15
(2016-01-31, 20:19)mikeb8591 Wrote: I glued the 31st log (complete) to the end of the 30th log in the paste bin, so the info from the beginning of the log is in there, just not at the beginning of the logged info.

No, it is not the RecordedTV, it's an additional folder (On a NAS) that has been configured as a location for recordings (media library?) in WMC.

Restarting Kodi did not affect the zombies. Restarting serverwmc eliminated zombies, and delete seems to be working correctly now. (I deleted another show, and although the folder's count didn't update quickly, it eventually decrease by one, instead of the show coming back.

So at this point, I guess it's not reproducible.

Thanks!
Mike
Restarting ServerWMC did eliminate the Zombies for me. However as I go through this thread. I feel this is going to happen again, or it could happen again. I'll keep you posted.
Reply

Logout Mark Read Team Forum Stats Members Help
recording zombies (deleted, but still in list)0