noee / mcwsplasmoid

Plasmoid with basic remote control for JRiver MediaCenter Servers using MCWS
MIT License
1 stars 1 forks source link

[feature request] Control&Info in compact representation #1

Closed KottV closed 6 years ago

KottV commented 7 years ago

Greetings! Thank You for this plasmoid. Are you planing to add control buttons and info string in compact representation? It would be very feature-full addon:) I mean, like PlayBar2 plasmoid https://github.com/audoban/PlayBar2 or Media Controller Compact https://store.kde.org/p/998887/

For now I use my simple plasmoid that just types track-artist near your mcws.

noee commented 7 years ago

Yeah, that looks like a good idea. Maybe compact just defaults to the current zone selected and I can make the whole compact visual optional.

I actually have an MPRIS2 add-on that makes any (and all) MediaCenter servers available to your desktop, that might be an option too. Then you could use an MPRIS2 client of your choice. I'll play with it a little bit, see what is most useful.

noee commented 7 years ago

Pushed to master Compact View option. Needs some polish, I can't get the sizing/formatting right, but it handles the basics and tracks whichever Zone you select from the Full View. Enable/disable via the options.

Of course, feedback welcomed.

KottV commented 7 years ago

Great! I added layoutDirection: Qt.RightToLeft that helps with aligning

KottV commented 7 years ago

I actually have an MPRIS2 add-on that makes any (and all) MediaCenter servers available to your desktop, that might be an option too. Then you could use an MPRIS2 client of your choice. I'll play with it a little bit, see what is most useful.

Can I see it too? :)

noee commented 7 years ago

The MPRIS2 tool is CLI-only and multi-threaded (C++), so it won't work as a qml plugin ATM. Not sure if I'm going to do anything with it or not.

noee commented 7 years ago

v1.1 now has a nice panel view for your zones. You can make the view small (normal) that will show roughly one zone info or you go wider (check options). It's just basically a horizontally scrollable list of your zones.

Clicking on any zone will bring up the Plasmoid popup with that zone selected.

KottV commented 7 years ago

Cool. What do you think about right-aligned text?

original mcws_orig

my mcws_my

noee commented 7 years ago

I like it. I'm working on some ideas to save some panel space too.

KottV commented 7 years ago

I played with alignment because track name didn't kept in place and jumps up or down during track switching: mc_trname

Finally I found some parameters that fixes trackname and artistname: CompactView.patch.gz

noee commented 7 years ago

I actually have a little better fix that involves using the base QtQuick Text element for the two fields. Something is not quite right with the Plasma.Label when it repaints.