WIP Transparency! for Omega+ w/Skin Shortcuts Integration
#46
(2024-07-23, 07:38)Mordred Wrote: Loving the recent changes, plus the new Roboto font! Looking excellent. The Event Log Settings shortcut is kinda genius. Weather widget also is super useful.

I've got two remaining issues that I would love to see fixed if possible:
  1. The Recently Added Movies widget playlist(?) sorts the movies alphabetically as opposed to by date added. I assumed it had stopped working and wasn't adding new movies from the library, but it was they're just at the bottom of the list. Changing this to sort by date added (most recent first) would be a big improvement. The TV show episodes added version does do this correctly, so always the most recent shows in the library are shown at the top.
  2. I think Ronie might have broken this sometime between the version I was last using for Kodi 17, and whenever he stopped maintaining it, but pressing the shortcut for "next subtitle" while a movie was playing used to show a menu of all subtitles the film had and then you could easily scroll between them to select the one you want. Now next subtitle just goes to the next subtitle and it's impossible to tell if one is for SDH, forced, until you've selected it. This is kind of a big problem when you've got some film from a streaming site that has 25 different subtitle languages and you have to advance through each one because you hit the button to go from Forced to SDH because you couldn't understand a line of dialog.
I also mentioned previously that season fanart wasn't working properly. I might dig into Ronie's old codebase to see if I can figure out how to get that working again.

Kodi seems to be ignoring the playlist order for a movie Smart Playlist sorted by dateadded so I added sortby and sortorder tags to the content path.

For the second thing, there is no button in the skin for "Next subtitle" but there is a Kodi action id for a keymap and Kodi core controls that. To select from multiple subtitles open the subtitle settings from the OSD button.

(2024-07-23, 07:42)kurai Wrote: EDIT:
Damnit - I happened to search the Git for media flag, looking for something else, and saw a reference to a pre-existing mediaflag.png that I must have skipped past it a hundred times in the file-tree without noticing.
This turns out to be @ronie 's original blank template frame and is, naturally, a much cleaner source.
*sigh*  That's an hour of my life wrestling with image editing software I'll never get back.  Oo Aaaaaanyway ...
It's at ./media/mediaflag.png
Image

What if I follow the studio icons and have the mediaflag.png underneath the source/codec/audio/whatever flag? Then they don't need to be "created", just use existing images and resize or scale them to the correct dimensions.

Might be able to use text for things like aspect ratio resolution if doesn't look too weird when cobbled together...
Reply
#47
Latest version of Transparency! (Skin Shortcuts Edition)
skin.transparency.ssedition-0.0.5.zip
Reply
#48
(2024-07-23, 16:36)mikeSiLVO Wrote:
(2024-07-23, 07:38)Mordred Wrote: 2. I think Ronie might have broken this sometime between the version I was last using for Kodi 17, and whenever he stopped maintaining it, but pressing the shortcut for "next subtitle" while a movie was playing used to show a menu of all subtitles the film had and then you could easily scroll between them to select the one you want. Now next subtitle just goes to the next subtitle and it's impossible to tell if one is for SDH, forced, until you've selected it. This is kind of a big problem when you've got some film from a streaming site that has 25 different subtitle languages and you have to advance through each one because you hit the button to go from Forced to SDH because you couldn't understand a line of dialog.
For the second thing, there is no button in the skin for "Next subtitle" but there is a Kodi action id for a keymap and Kodi core controls that. To select from multiple subtitles open the subtitle settings from the OSD button.
Yeah, I was referring to the keymap id. Does anyone know when/how this was changed? In Transparency for Kodi 17, pressing that keyboard shortcut (I have it programmed into my remote) would display the same subtitle select dialog as if you'd gone into the OSD >> Subtitle Settings >> Subtitle. As soon as I upgraded to Kodi 21 and the hacked versions of T! it stopped working.
Reply
#49
Probably when they started combining dialogs in Leia...
Reply
#50
(2024-07-23, 16:36)mikeSiLVO Wrote: What if I follow the studio icons and have the mediaflag.png underneath the source/codec/audio/whatever flag? Then they don't need to be "created", just use existing images and resize or scale them to the correct dimensions.

Might be able to use text for things like aspect ratio resolution if doesn't look too weird when cobbled together...
That could work.
Would it be worth the time though ?  It's not an image-set that's going to need a lot of updating (e.g. the existing set has been in use in Transparency for 10+ years, and is only missing 5 items for new things ... that I'm aware of)
The process of de-colorizing & resizing/scaling would need to be done each time there was a new flag required anyway, and only requires 1 extra step at the end to combine with template.

Assuming I understand the process you are referring to (combining `bare` media-info images into an .xbt texture pack, then picking from it as a resource:// and overlaying on the base template image ) you'd need to deconstruct/replace all the existing `templated` images.

Unless you already have an existing pack of media-info images in mind to shortcut all that ?   The media-flags seem to have gotten very little attention form the community over the years - there are very few add-on packs around when I've gone looking.
Reply
#51
@kurai I'll have some code examples and explain it in more detail when I get back later tonight.

Transparency! (Skin Shortcuts Edition) v0.0.6
  • Add Movies, TV Shows, Artists, and Music Videos random backgrounds and widget fanart to home screen
  • Add Video, Music, Game, Program, Android, and Image addon widgets sorted by last used
Reply
#52
@mikeSiLVO v0.0.6 looking good so far.
Most of the problems I've had are when I try and do something that, in the past, required a fiddly and awkward workaround with multiple, potentially breakable, steps ... only to find out after an hour that Doh!  SkinShortcuts already had the feature ready to go, if only I'd found it there first  Tongue

A couple of questions:-
1.  "widget fanart to home screen" - could you elaborate a little on what that is ?
2.  Could you explain how the Event Log window from Settings is supposed to work (and if options elsewhere in Kodi/Skin need to be set), and clear up what exactly the Level and Show Higher Level options do? 
     It's probably painfully obvious once you have a working example to look at, but I can't seem to get it to populate at all, so I'm just half-assed *guessing* at how it *should* work.

And a small request/suggestion:-
Could we have the Home screen visual transition between menu items navigation speeded up a little?  The fade between the item's backgrounds appears slower than the animation for the menu-bar, so it makes it *feel* like the system is being laggy and sluggish, even though it's a purely visual effect.
Maybe change fadetime from 600 to 300 ?
Home.xml Line:13:
<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">9000</defaultcontrol>
    <onload>RunScript(script.skinshortcuts,type=buildxml&mainmenuID=5040&options=noGroups)</onload>
    <controls>
        <include>skinshortcuts-template-HomeRandomFanartLists</include>
        <include condition="!Skin.HasSetting(HideHomeVideoBackground)">home-videowindow</include>
        <control type="group">
            <visible>![Player.HasVideo + !Skin.HasSetting(HideVideoBackgrounds)]</visible>
            <include>VisibleFadeEffect</include>
            <include>skinshortcuts-template-HomeFanartFrame</include>
            <include content="CommonBackground">
                <param name="fadetime">300</param>
Reply
#53
(2024-07-25, 14:37)kurai Wrote: @mikeSiLVO v0.0.6 looking good so far.
Most of the problems I've had are when I try and do something that, in the past, required a fiddly and awkward workaround with multiple, potentially breakable, steps ... only to find out after an hour that Doh!  SkinShortcuts already had the feature ready to go, if only I'd found it there first  Tongue

A couple of questions:-
1.  "widget fanart to home screen" - could you elaborate a little on what that is ?
2.  Could you explain how the Event Log window from Settings is supposed to work (and if options elsewhere in Kodi/Skin need to be set), and clear up what exactly the Level and Show Higher Level options do? 
     It's probably painfully obvious once you have a working example to look at, but I can't seem to get it to populate at all, so I'm just half-assed *guessing* at how it *should* work.

And a small request/suggestion:-
Could we have the Home screen visual transition between menu items navigation speeded up a little?  The fade between the item's backgrounds appears slower than the animation for the menu-bar, so it makes it *feel* like the system is being laggy and sluggish, even though it's a purely visual effect.
Maybe change fadetime from 600 to 300 ?

1. When focused on a widget item, if it has fanart, it will show as background.

2. Event Log (wiki)

What menu animation are you referring to? I used the same fade time as the original skin.
https://gitlab.com/ronie/skin.transparen...=heads#L18

About the media flags:
xml:
<control type="image">
<width>96</width>
<height>72</height>
<texture>mediaflag.png</texture>
</control>
<control type="image">
<width>96</width>
<height>72</height>
<texture>My Media Flag.png</texture>
<fadetime>IconCrossfadeTime</fadetime>
</control>
I'd use a label control for resolution and aspectratio.

If anything is needed to be added I can usually find an image and then add it to my Aeon Nox skin. A quick resize and not having to worry about the spacing or adding layers in Gimp could make things easier to maintain. Maybe update the images also...
https://github.com/MikeSiLVO/skin.aeon.n...fault/mpaa
https://github.com/MikeSiLVO/skin.aeon.n...videocodec
Reply
#54
@mikeSiLVO

re:1.  Understood

re: 2. Event Log. Aah - I wasn't aware that was a Kodi feature (since v17, it seems).  I've been using Transparency exclusively for so many years I never knew it even existed - I thought this was a new custom feature for add-on skins.:/
I've always used SSH terminal access or NotePad++ via SMB to set logging via commandline or advancedsettings.xml & look at the log - now that I know what events get trapped and registered in the window I can see it's (intentionally) pretty limited, so I can safely ignore it again. Tongue

 re: Menu animation.  Hrmmm - looks like it was another one of my pesky customisations from ages ago in base Transparency I changed and forgot to note down/comment.
The visual effect I'm talking about is when you navigate left/right (or up/down) from one Main Menu item to another in Home (e.g. TV Shows to Music) - the background image changes accordingly as focus changes from one to another ... with a fade between.
If you think a speedup is unwarranted/un-aesthetic and/or no-one else cares I'll just continue on implementing it as a personal customisation.

re: media flags.  Makes perfect sense, rather than having to entirely construct every complete image manually.  Incidentally - I very much prefer your default resolution & aspectratio icons from skin.aeon.nox.silvo. Cool
Reply
#55
I lowered the fadetime to 500, anything lower is just a tad too quick IMHO.

You can install Add-on:Log Viewer for Kodi (wiki) to check the logfile inside of Kodi.

I wasn't sure if I should add File Manager or Event Log to settings. I can swap it to that instead?
Didn't like the one missing button with the offset games one, just looked weird to me...

Started to rework the flags a bit. If you want to check it out it's the flags_rework branch.
Reply
#56
re: fadetime  Fair - quite a few of my personalisations are not things that anyone else would want or, or need.  Individual taste and all that Smile

re: script.logviewer   Huh - I had an old version of that in ./addons/packages/  Guess it was one of the things that got sidelined in The Great Python Happening™, and I never got around to looking for an update again.

re: flags  Will do.
Reply
#57
(2024-07-26, 01:26)mikeSiLVO Wrote: Didn't like the one missing button with the offset games one, just looked weird to me...
Yea, I always thought it looked a bit "slapped on" also.

(2024-07-26, 01:26)mikeSiLVO Wrote: I wasn't sure if I should add File Manager or Event Log to settings.
File Manager is accessible from the shutdown menu, whereas Event Log isn't. Maybe leave Event Log as is.
Or remove Skin Settings, which is still accessible from Interface>Skin Settings and add both File Manager and Event Log like in Estuary
Personally it doesn't worry me either way as I rarely use either of them, but the Settings now does look nicer with a full grid of icons.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#58
I agree on keeping Event Log now that it's there - I can see it being useful for people who have limited access to the underlying OS, such as Xbox or Android TV sticks like Amazon Fire TV etc.
Reply
#59
Great work on the skin, 0.0.6 in use here.

Is there a way to remove the unnecessary (for me) buttons?
I would be satisfied with only play, pause, stop and subtitle buttons.
Image
3 * Nvidia Shield + Synology NAS DS218+ 2 * LG 77" + Genelec + WiiM Pro Plus & Mini + Adam T5V + T7V + T10S - ArcoLinux
Reply
#60
(2024-07-26, 09:42)Raitsa Wrote: Is there a way to remove the unnecessary (for me) buttons?
...
I would be satisfied with only play, pause, stop and subtitle buttons.
Since most of the buttons are part of the core media playing functionality of Kodi there isn't a `simple` on/off configuration menu for them.

You certainly *can* hide/disable ones you don't want to see - but it means manually editing the VideoOSD.xml file.

Look for sections with <control type="button" id="9xx"> and comment out the ones you don't want.
Normal button appearance:
<control type="button" id="901">
    <width>60</width>
    <height>60</height>
    <label />
    <font />
    <texturefocus>osdplayer-previous-focus.png</texturefocus>
    <texturenofocus>osdplayer-previous-nofocus.png</texturenofocus>
    <onclick>PlayerControl(Previous)</onclick>
</control>
Disabled button:
<!--  Anything between these arrow + dash comment markers is disabled
<control type="button" id="901">
    <width>60</width>
    <height>60</height>
    <label />
    <font />
    <texturefocus>osdplayer-previous-focus.png</texturefocus>
    <texturenofocus>osdplayer-previous-nofocus.png</texturenofocus>
    <onclick>PlayerControl(Previous)</onclick>
</control>
-->
So you can end up with, for example, this:-
Image
So far so simple Smile

Now it gets tricky ...
You'll also need to do some messing around with the <onleft>9xx</onleft> and <onright>9xx</onright> numbers in parts of the sections you leave active, so that the player knows which buttons are still there that it can move between when navigating left and right with the remote or keyboard.
If you don't get that right the input focus will move to the "progress bar" control and left and right might send you skipping forward and back in the video, instead of moving between buttons.
Reply

Logout Mark Read Team Forum Stats Members Help
Transparency! for Omega+ w/Skin Shortcuts Integration0