LinuxMCE Forums

General => Users => Topic started by: daballiemo on November 25, 2008, 08:51:06 pm

Title: Mythweb - recorded programs shows deleted tv shows
Post by: daballiemo on November 25, 2008, 08:51:06 pm
When watching recordings I normally tend to delete the shows after watching (which is a bit of a pain  ;D , because after the show you have to go back to 1) video 2) filter on tv shows 3) find which show out of the 45 CSI's I watched and then 4) delete.)

I noticed however that these shows still show in the mythweb page for recorded shows  :'( . When selecting one i get: "1008_20081123001000.mpg does not exist in the recordings directory." which does not happen for the not deleted show.

Additional I cannot delete them using the Mythweb interface  >:( . The only way to get rid of them is deleting the record out of the database by hand.

Either I am doing something wrong or the system is screwed. Searching on the forum did not reveal any answer so far, anybody got a clue  ??? ?

thx

Han
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: seth on November 25, 2008, 08:58:12 pm
 :)
Here is how I do it. And it is a bit of an obstacle course as well.

I go into watch MythTV. Once it loads up and a show is playing on the screen, I hit the "Recorded TV" button on my MCE/Gyration or Logitech remote. This brings me to the mythtv recording playback menu, (incidently, if you want to use commercial skip, this is also how you can enjoy that feature.) from that menu, I choose the show I want to delete. Using the D-Pad, or arrow keys on any of the remotes I have, You go right, go to the show, highlight it, and go right again. This brings up the MythTV menu, from here I delete the recording, and when prompted say "Yes I'm Sure"

Now in a bit, the LMCE menu will catch up, and the show/movie will no longer show up there.

Not graceful, but it does work.

Regards,

Seth
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: daballiemo on November 25, 2008, 09:05:48 pm
Cheers Seth,

I'm gonna give it a go in a moment ;-)
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: daballiemo on November 25, 2008, 10:19:34 pm
Well, that worked but I reckon its not the designed way to do it. Allthough I like the amount of info I get out of the Myth interface ;-)
I really can't be the only one suffering this..... :'(

Anybody has got any other suggestions?
Is there a way to edit the script in myth that fills the LCME database to make it more descriptive when adding recordings of reoccuring shows

CSI Miami - Till death do us..   in stead of CSI Miami
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: skeptic on November 27, 2008, 01:16:42 am
Others have brought up this same issue, myself included.  For now I just watch all my recorded shows via MythTV.  Unfortunately I have to say it's a much nicer interface for this type of watching/deleting.  Watch a show, at the end it brings you back to the list of recorded shows, sorted by show if that's how you found and played it first, and is quick and easy to delete.  It also has the episode name there on the screen easy to see. 

As I understand it, the next version of LinuxMCE may have an option to go straight to the MythTV recorded shows screen from the main MythTV menu without going into MythTV and backing out or using the menu/key option to get to recorded shows.  If this option can be combined with a way to have recorded shows not show up with the other movie videos I think it will resolve a number of annoyances.

I understand the idea of combining all videos, no matter what the source, type, or location into one big list.  Unfortunately recorded TV shows are treated by users very different from the way we watch movies.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: tschak909 on November 28, 2008, 03:57:03 pm
No. This is not the direction that will be taken.

Sorry.

We will be optimizing use so that TV shows will be presented better in the file list, as well as improving the view so that it is usable.

I will not be muddying up UI between MythTV and Orbiter. Do not ask. I have already made up my mind. You don't like it, make patches, and we'll test stuff out.

-Thom

p.s. As for deleted TV shows, this is a known issue, and I will need to add a series of events for deleted files, so that MythTV plugin can attach to it, and delete the appropriate data from the mythconverg database.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: daballiemo on November 28, 2008, 10:06:30 pm
Thx guys, at least I now have a work around and hope that in the near future I will be able to use the orbiter.
Hopefully :-) the next release will be there before X-mas. I'm getting low on the WAF scale  ::)
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: seth on December 01, 2008, 02:25:05 pm
 ;)
If its any consolation daballiemo, my wife has very poor eyesight from 12 ft across the room to fully utilize the LMCE menu system in relations to the Video Menu. She uses MythTV daily for watching and playing back of all recordings. I have scripts in place that remove commercials, and this really makes MythTV a good playback platform. I have even gone as far to change what the orbiter lists as TV to say MythTV, so she knows right where to go. She uses Mythweb to schedule her recordings, and she watches them from within MythTV. She does this by going from MythTV, hitting the button to bring up the LMCE menu, and selecting the recordings. To make WAF even easier, pick up an MCE remote from e-bay or something, it actually has a live tv button on it which launches MythTV and it also has a recorded tv button, which magically jumps right to the MythTV recording menu, from within MythTV. I have even gone as far as to put her favorite MyhTV theme on there, and change the xorg.conf file to use 100x100 DPI fonts, to better enhance the BlooTube theme she likes so much. These little things can make WAF easy to achieve. A note here, we were a Knoppmyth family for several years before the LMCE project came to life in my place, so this made it very easy for her to accept.

I personally like using the gyration remote, and the LMCE video menu, to filter for children, and select their shows for playback, with the gyration this is like 4 clicks, but if using MythTV keeps LMCE running in my home, more power to her  ;)

Best Regards,

Seth
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: skeptic on December 01, 2008, 03:57:05 pm
No. This is not the direction that will be taken.

Sorry.

We will be optimizing use so that TV shows will be presented better in the file list, as well as improving the view so that it is usable.

I will not be muddying up UI between MythTV and Orbiter. Do not ask. I have already made up my mind. You don't like it, make patches, and we'll test stuff out.

-Thom

p.s. As for deleted TV shows, this is a known issue, and I will need to add a series of events for deleted files, so that MythTV plugin can attach to it, and delete the appropriate data from the mythconverg database.

I thought someone, maybe you?, said a direct jump to the recorded shows in Myth was the plan.  Eh, either way I trust whatever you have planned will work out well.  As long as something is planned to make it easier to sort through TV shows and watch/delete them I'm happy. 
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: donpaul on February 27, 2009, 04:50:39 am
I ran into the issue, and found this post during a search. Currently I get a lot of errors like this:

2009-02-26 22:32:16.891 ERROR when trying to delete file: /home/public/data/videos/tv_shows_1/1501_20090226200000.mpg. File doesn't exist.  Database metadata will not be removed.

When a recording is deleted from LMCE, why not just remove the data from LMCE db (so it no longer shows in the video lib) and let myth expire the recording like it does all the others?
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: tschak909 on February 27, 2009, 06:14:26 am
Unforunately, UpdateMedia would find the file again.

What needs to happen, is that logic needs to be added to MythTV_PlugIn to trigger deletes via the mythtv control port.

We as always are looking for patches, if we don't get to it first.

-Thom
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: Steve on February 27, 2009, 08:24:38 pm
Here's how i did it, go to http://192.168.80.1/mythweb/settings/mythweb
Where it say's MythVideo Dir: /home/public/data/videos/tv_shows_1
If that is where your shows are being recorded changing tv_shows_1 to the subdirectory of yours.
And do the same for MythVideo Artwork Dir: /home/public/data/videos/tv_shows_1
apparently these are set to mythtv defaults.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: tschak909 on February 27, 2009, 09:01:46 pm
DO _not_ change these paths! You will break the system.

-Thom
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: Steve on February 28, 2009, 08:01:42 pm
Well, maybe you are right, but it did not break mine. maybe it is system independent.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: tschak909 on February 28, 2009, 08:12:54 pm
Dude, I'm one of the developers. I know i'm right. Take some time to look at the code for the MythTV_PlugIn.

*hmm*

-Thom
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: donpaul on March 02, 2009, 12:39:49 am
Unforunately, UpdateMedia would find the file again.

What needs to happen, is that logic needs to be added to MythTV_PlugIn to trigger deletes via the mythtv control port.

We as always are looking for patches, if we don't get to it first.

-Thom


Wouldn't it then treat it like every other live tv recording, and not show it in the list of videos? I often see shows I watch show up in the video list, then shortly disappear. The only videos that stay in the list are the ones that I record, and are processed with /usr/pluto/bin/SaveMythRecording.sh.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: Steve on March 02, 2009, 02:16:11 am
Darn, no wonder mine hasn't broke yet I don't have the file SaveMythRecording.sh. Thom, sorry, I didnt mean to come off like a Know-it-all. I am running 7.1r2 of LMCE. Does that make a diff? Don't worry, i'm not tring to steal the thread. i'm just tring to help out so we can all figure this problem out. Where could I find that file, it is not in /usr/pluto/bin/?
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: tschak909 on March 02, 2009, 06:24:27 am
it should be there. It's part of the pluto-mythtv-plugin package. This is how the metadata gets populated into LMCE's video list after a show is recorded. (It doesn't populate it per-se, it sends a signal to MythTV_PlugIn to grab the relevant metadata.)

-Thom
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: Steve on March 02, 2009, 06:58:39 pm
Thom, I have searched all of the sources that I have for SaveMythRecording.sh to none avail. in 7.1r2 ver. So I guess i'm going to have to redo my system to 8.1 to get up to date which is not all stable and missing some packages. Unless there is some repository I should be pointing my core to. cause the repositories it is curently pointing to do not exist.

 
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: donpaul on March 20, 2009, 02:54:59 pm
I found a workaround for MythTv recordings in LinuxMCE that should help.

http://wiki.linuxmce.org/index.php/MythTv:_Don%27t_scan_live_tv
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: donpaul on April 14, 2009, 02:56:53 am
I found a workaround for MythTv recordings in LinuxMCE that should help.

http://wiki.linuxmce.org/index.php/MythTv:_Don%27t_scan_live_tv


This answer is irrelevant to the original post.


Try reading the wiki again. It will solve his issue with deleted shows showing in MythTV and not able to delete. The show will still be listed, but he could now delete it and _IT_WILL_EXPIRE_PROPERLY_.

You weren't the original poster anyway - Troll somewhere else.
Title: Re: Mythweb - recorded programs shows deleted tv shows
Post by: Steve on April 14, 2009, 05:57:29 am
I did go back and reread the wiki, and you are right! My Bad, Sorry!
And just so we don't get off on the wrong foot. I was not trolling. I was trying to help. I have seen this happen in mythbuntu before I came to linuxmce.