Recordings not showing on front-end, but showing elsewhere.

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
dantengwen
Newcomer
Posts: 6
Joined: Sat Nov 17, 2018 10:28 pm
Afghanistan

Recordings not showing on front-end, but showing elsewhere.

Post by dantengwen »

My wife was using myth and was doing a cleanup, namely adding a whole bunch of recordings to a playlist and deleting the recordings in the playlist. This is something both of us have done many many times without issue, until the other night.

The other night I'm not totally sure what happened, but at best guess she hit the "/" key while "All Programs" was selected instead of a specific show and chose delete.


Anyway I undeleted all 1500+ and then something glitched on the front end necessitating the front end program be restarted. Ever since then I cannot see more than 30 of the already-recorded programs, no matter how I change the view filters. What makes it even more unusual is I can locate and play them perfectly fine via mythweb and via mythling (an android frontend) on my tablet..

I have reinstalled the front end with "apt-get --purge mythfrontend" as well as reset the front-end settings via "mythfrontend --reset" while te front end program was shut down, but still I only see 30 of over 1500 shows. New programs are being recorded and showing up on all front ends and mythweb, but for some reason I just cannot get the frontend on the mythtv box to do it. I tried and couldn't get it to work on a secondary frontend either.

I've google-fu'd a fair bit, but every suggestion I've come up with doesn't seem to help here.
Last edited by Steve Goodey on Thu Nov 22, 2018 9:06 pm, edited 2 times in total.
Reason: Download links removed.
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Recordings not showing on front-end, but showing elsewhere.

Post by MikeB2013 »

Not sure which "view" filter you are changing.

If you go to "Watch Recordings" and then press the Menu key (m on a keyboard) you should see a "Group List Menu" , if you then select "Change Group Filter" does that show any lines resembling your "lost" recordings ? It is possible that they are in the Deleted section under -----Groups-----

Mike
User avatar
pgbennett
Developer
Posts: 511
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: Recordings not showing on front-end, but showing elsewhere.

Post by pgbennett »

There is a delete pending flag in the database, and if it remains set the recordings are in a limbo state. This can happen if the backend crashes while performing deletes. To check this. run a sql command
select deletepending, recgroup, count(*) from recorded group by deletepending, recgroup;
This will tell how many delete pending records there are. To fix it if there are some, shut down the backend and run this sql
UPDATE recorded SET deletepending = 0 where recgroup = 'Deleted';
In the recgroup use the recgroup where the deletepending records were found.
User avatar
AnalogBill
Junior
Posts: 29
Joined: Fri Feb 10, 2017 2:11 am
United States of America

deletepending fix

Post by AnalogBill »

Thanks. Worked great! I was on the wrong track and you saved me a lot of angst.
Bill
Post Reply