Posts: 3,587
Joined: Sep 2009
Reputation:
111
Slight tweak to this recently - if a file that is being checked already has a resume point in it, CPE will allow playback - the assumption being that you've previously said yes to allow the out of order playback for this file, so it's just irritating if it asks again.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 17,524
Joined: Aug 2007
Reputation:
597
Hitcher
Team-Kodi Member
Posts: 17,524
Any chance of adding a window property when this is used so skins can change the design of the select dialog?
Thanks.
Posts: 3,587
Joined: Sep 2009
Reputation:
111
So just set a property (isCheckPreviousSelect, say) when the select is up, then clearing it on selection, is that all you need?
I can certainly do that ... Just checking that is all you mean...
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 17,524
Joined: Aug 2007
Reputation:
597
Hitcher
Team-Kodi Member
Posts: 17,524
Yeah, name doesn't matter as long as it's not empty before the select dialog is opened so skins can use !String.IsEmpty(Window(home).Property(CheckPreviousEpisode))
as a visible condition.
Many thanks.
Posts: 3,587
Joined: Sep 2009
Reputation:
111
Oh right, so the inverse really - not empty when not showing anything, empty when the select is showing. Interesting....will do it as soon as a break in work gives me a chance!
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 17,524
Joined: Aug 2007
Reputation:
597
Hitcher
Team-Kodi Member
Posts: 17,524
Sorry, I meant it should be empty unless the addon is used for a missing episode. Once a missing episode is found the property needs to be filled but this needs to happen before the select dialog is actually opened.
Hope that was clearer.
Posts: 17,524
Joined: Aug 2007
Reputation:
597
Hitcher
Team-Kodi Member
Posts: 17,524
2024-04-09, 14:30
(This post was last modified: 2024-04-09, 14:47 by Hitcher. Edited 1 time in total.)
Thanks, I'll give it try tomorrow.
EDIT: Did quick test to check I can use a different layout for dialog select and it worked perfectly.
Many thanks for adding this feature as it gives skinners an option to use a different design.
Posts: 3,587
Joined: Sep 2009
Reputation:
111
Great, I'll push it up the pipe then.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,587
Joined: Sep 2009
Reputation:
111
Awesome! I didn't even realise that was possible with those sort of native dialogues.
(Which skin is that?)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.