chrisbevan / skin.pellucid

A skin for Kodi by theDeadMan
Other
46 stars 42 forks source link

Player without possibility to scrub (fastforward and rewind actions)? #105

Open giancarloerra opened 6 months ago

giancarloerra commented 6 months ago

I discovered this skin and is by far superior to default one, but I find impossible to fast forward/backward when playing a song (scrubbing).

In default skin I can 'click' on the progress bar and simply move back/forth in the song length, how can I do the same with Pellucid?

I might be missing something obvious!

chrisbevan commented 5 months ago

Not implemented - the skin was designed for tv / remote use rather than touchscreen. The now playing screen for music is also a bit unconventional in terms of how I do it compared to other skins, so it might not be possible.

giancarloerra commented 5 months ago

Not implemented - the skin was designed for tv / remote use rather than touchscreen. The now playing screen for music is also a bit unconventional in terms of how I do it compared to other skins, so it might not be possible.

Thanks for the reply, I appreciate it. I'm actually not using it on touchscreen but on tv/remote, where usually on L1/L2 of a remote (or some other command) is possible to scrub fast/back in chunks.

I tried indeed examining the skin to understand how to map it, but I seem not able to map a control for the right command to the right view/file.

chrisbevan commented 5 months ago

No worries.

The file to edit is 1080i/custom_musicPlayerFullscreen.xml

One way might be:

[FIND]

-100 -100 1-col 1-col control.setfocus(9000) control.setfocus(9000) control.setfocus(9000)

[REPLACE]

-100 -100 1-col 1-col control.setfocus(9000) PlayerControl(SmallSkipBackward) PlayerControl(SmallSkipForward) control.setfocus(9000)

See https://kodi.wiki/view/List_of_built-in_functions#Player_built-in's for more options.

Hope that helps!

giancarloerra commented 5 months ago

Thanks, that gave me a direction to add items

<item>
                                    <description>Backward</description>
                                    <label2></label2>
                                    <thumb></thumb>
                                    <onclick>PlayerControl(SmallSkipBackward)</onclick>
                            </item>

and

<item>
                                    <description>Forward</description>
                                    <label2></label2>
                                    <thumb></thumb>
                                    <onclick>PlayerControl(SmallSkipForward)</onclick>
                            </item>

to that file and they work as additional buttons. No icons or labels yet but at least it does allow quick forward and backward, thanks!