Opened 10 years ago

Closed 10 years ago

#8130 closed enhancement (fixed)

[PATCH] Interrupting PlayFolder

Reported by: miroslav@… Owned by: robertm
Priority: minor Milestone: 0.24
Component: Plugin - MythVideo Version: 0.22
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I just discovered great feature of MythVideo? plugin - PlayFolder?() function, but without ability to interrupt it, it was only half of joy.

So I wrote this patch. It will interrupt the playlist if video was played less then 10 seconds. If it was played more then 10 sec, it will continue with other item in playlist.

Attachments (1)

mythvideo.patch (1.4 KB) - added by miroslav@… 10 years ago.
Patch to interrupt PlayFolder?

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by miroslav@…

Attachment: mythvideo.patch added

Patch to interrupt PlayFolder?

comment:1 Changed 10 years ago by robertm

Owner: changed from Anduin Withers to robertm
Status: newaccepted

Looks OK. PlayFolder? is going to get an overhaul eventually, probably when the MythVideo? DB structure changes and MythVideo? hopefully starts to use ProgramInfo?. But since it's not clear when all that will get done, I am fine with this going in after the freeze.

comment:2 Changed 10 years ago by robertm

Resolution: fixed
Status: acceptedclosed

(In [24068]) Fixes #8130. Allow the user to break out of a 'Play Folder' action in MythVideo? by quitting a video before it plays longer than ten seconds. Original patch by Miroslav, adjusted for our coding standards. This should do the trick until we can unify the Video and Recording DB/ProgramInfo and unify playlist behaviors.

Note: See TracTickets for help on using tickets.