[SOLVED] Delete watched videos from frontend?

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

[SOLVED] Delete watched videos from frontend?

Post by wilberfan » Thu Jun 26, 2014 12:34 am

I've never found a way to delete downloaded videos from the myth frontend GUI (for example, after I've watched them). Does this feature exist? I'm wondering if I'm not looking in the correct place(s).
Last edited by wilberfan on Fri Jun 27, 2014 9:01 pm, edited 1 time in total.

wesnewell
Senior
Posts: 550
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Delete watched videos from frontend?

Post by wesnewell » Thu Jun 26, 2014 7:10 am

Press the 'd' key to delete them.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

Re: Delete watched videos from frontend?

Post by wilberfan » Thu Jun 26, 2014 7:22 pm

wesnewell wrote:Press the 'd' key to delete them.
Wow. Really? That easy? Good to know.

Unfortunately, my myth box is in the next room--along with the keyboard. Once I start the frontend, I use a Streamzap remote to control things. There's probably a way to map a "D" to one of the unused keys...?

Thanks for the tip!

wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

Re: Delete watched videos from frontend?

Post by wilberfan » Fri Jun 27, 2014 1:38 am

Okay. A misunderstanding.

The "D" is to delete recording (recorded?) videos. I was asking about downloaded videos...

User avatar
rwagner
Developer
Posts: 217
Joined: Thu Feb 06, 2014 11:37 pm
United States of America

Re: Delete watched videos from frontend?

Post by rwagner » Fri Jun 27, 2014 5:23 am

Unless you're talking about the HLS recorder (which would show up in recordings), MythTV doesn't download videos.

wesnewell
Senior
Posts: 550
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Delete watched videos from frontend?

Post by wesnewell » Fri Jun 27, 2014 7:18 am

As long as the remote button is defined in lircd.conf and in your lircrc file, then just go to Edit keys and put the button on the function you want. My remote has lots of buttons. I picked it for that reason. I think the D key is the default to delete any file that you have highlighted anywhere.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

Re: Delete watched videos from frontend?

Post by wilberfan » Fri Jun 27, 2014 8:29 pm

wesnewell wrote:As long as the remote button is defined in lircd.conf and in your lircrc file, then just go to Edit keys and put the button on the function you want. My remote has lots of buttons. I picked it for that reason. I think the D key is the default to delete any file that you have highlighted anywhere.
I tried deleting a watched, downloaded video--by using the "D" key on the keyboard. It told me that the file was not being recorded (and/or not in the process of being recorded), and therefore could not be deleted... I think it only applies to programs *recorded* by the backend.

wesnewell
Senior
Posts: 550
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Delete watched videos from frontend?

Post by wesnewell » Fri Jun 27, 2014 8:46 pm

I guess I don't know what type file you're talking about. It works on everything I have. Videos, Images, recordings, etc. Also works in mythtv-setup to delete cards, profiles, whatever. I don't stream stuff off the Inet in mythtv, but if it's streaming there's obviously nothing to delete.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

Re: Delete watched videos from frontend?

Post by wilberfan » Fri Jun 27, 2014 9:01 pm

wesnewell wrote:I guess I don't know what type file you're talking about. It works on everything I have. Videos, Images, recordings, etc. Also works in mythtv-setup to delete cards, profiles, whatever. I don't stream stuff off the Inet in mythtv, but if it's streaming there's obviously nothing to delete.
You are CORRCT, Sir! I don't know why it didn't work for me before, but I just tried it again, and I *did* get a proper "Are you sure you want to permanently delete..." on-screen display.

So, my bad.

Now, I just have to remember how to map one of the Streamzap keys to the letter "D"... :?

Thanks again for your help!

wesnewell
Senior
Posts: 550
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Delete watched videos from frontend?

Post by wesnewell » Fri Jun 27, 2014 9:28 pm

wilberfan wrote:Now, I just have to remember how to map one of the Streamzap keys to the letter "D"...
You just have to edit your lircrc file for the button you want. On my system there's a link to the actual file located at /home/user/.lirc/mythtv. But it may be a differnt place on yours. I'm using Mythbuntu 14.04.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

wilberfan
Junior
Posts: 19
Joined: Thu Jun 19, 2014 12:46 am
United States of America

Re: Delete watched videos from frontend?

Post by wilberfan » Fri Jun 27, 2014 9:43 pm

wesnewell wrote:
wilberfan wrote:Now, I just have to remember how to map one of the Streamzap keys to the letter "D"...
You just have to edit your lircrc file for the button you want. On my system there's a link to the actual file located at /home/user/.lirc/mythtv. But it may be a differnt place on yours. I'm using Mythbuntu 14.04.
I think I got it working this way:

I edited ~/.lirc/mythtv and added the following to the bottom of the file:

Code: Select all

begin
    remote = Streamzap_PC_Remote
    prog = mythtv
    button = KEY_RED
    config = d
    repeat = 0
    delay = 0
end
After restarting, the red button brought up the delete dialogue window, and I deleted the file--using only the remote, so....so far, so good! :D

Thanks, everyone, for your help! I've wanted to be able to do this for (literally) years! Silly me for not investigating sooner... :oops:

Post Reply