KRTirtho / spotube

šŸŽ§ Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
30.16k stars 1.24k forks source link

Layout for small screens maybe #1476

Open erebion opened 5 months ago

erebion commented 5 months ago

Is there an existing issue for this?

Pain

The best music app for smartwatches (mostly because there isn't much else :p), but also the most fiddly.

It works when using the compact layout*, but a few layout changes here could make a huge difference.

Login via Spotify is not possible as WearOS does not provide the Webview API for that.

*I also used wm density 205 via adb shell to reduce screen density a bit from the default 320, which makes it far easier to use the app, as more buttons become visible.

Suggested solution

Useful resources

No response

Additional information

No response

Self grab

erebion commented 5 months ago

Also, once playback has been started, it can comfortably be controlled using the media controls feature of WearOS. :D

erebion commented 5 months ago

Here are some screenshots to clarify what I mean:

image image image

(Edit: Do note that the screen is round, while the screenshot is rectangular, for whatever reason)

KRTirtho commented 5 months ago

Props on getting it working on a Smart Watch šŸŽ‰ . But I wonder why would anyone use a music app on a Smart Watch in the first place? At most, the ability to control other devices makes sense but the whole app? Can you even listen to the music? (assuming bluetooth earphones are not connected) šŸ¤”

erebion commented 5 months ago

Yes, I can. With and without headphones. My reason is simply going for a walk without much stuff, but having music with me. :)

The built-in speakers might not be the the best for music, but I've used them to listen to a podcast before. Sometimes you don't need high quality.

Also, I imagine people would like music whe running, when a phone would be annoying to have bouncing in a pocket. :)

KRTirtho commented 5 months ago

If we have to make an UI, I say, we make a separate watch UI. Cutting off some features and leaving out basic features. Because, watches are underpowered and has smaller batteries.

Maybe, we should only cover,

Now, about login, it's the hardest part. We need the WebView for Login flow. Otherwise, user have to manually pass the cookie just like the desktop version.

erebion commented 5 months ago

Looks good so far.

Library will only contain liked playlists, and albums. (No, Downloads/Local Tracks. Sorry)

Not all watches have LTE modems, while going on a walk people might have spotty reception. I consider downloads fo be essential.

We can also put a button to open the lyrics page

I doubt that would work well and be useful on a tiny watch :)

KRTirtho commented 5 months ago

Not all watches have LTE modems, while going on a walk people might have spotty reception. I consider downloads fo be essential.

Ok, I guess it makes sense include it.

sanctimoniousape commented 2 months ago

Gonna piggyback on this because my issue is similar, but on an actual phone (the Unihertz Jelly Star, which I came to absolutely love once I got used to it's diminutive size, and similarly tweaked things like the DPI). The controls on the player screen are cut off and I can't seem to get it to scroll them into view. Never mind - I just accidentally stumbled across how to scroll it: swipe diagonally or sideways first. wait like 15-20 seconds. Dunno why it lags so bad, but that's pretty long. This phone, while not flagship class, is plenty powerful enough that I rarely experience lag - let alone anything of that length.

Still would like to see a more compact layout, tho - maybe an option to keep the cover thumbnail sized, with the title, etc. displayed next to it. Or maybe make it toggle between the two when tapped.

Screenshot_20240818-143330