Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout for small screens maybe #1476

Open
1 of 2 tasks
erebion opened this issue May 4, 2024 · 7 comments
Open
1 of 2 tasks

Layout for small screens maybe #1476

erebion opened this issue May 4, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@erebion
Copy link

erebion commented May 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

  • For small screens, like the 320 pixel round screen of the Pixel Watch, order some elements in a different way, maybe remove some buttons to make the app more usable. The app itself works, it's just about the layout. :)
  • Maybe add a different login method for Spotify, as webview is not always available. For example on WearOS, maybe it also lacks on other Android versions such as Android TV.

Useful resources

No response

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@erebion erebion added the enhancement New feature or request label May 4, 2024
@erebion
Copy link
Author

erebion commented May 4, 2024

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

@erebion
Copy link
Author

erebion commented May 4, 2024

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
Copy link
Owner

KRTirtho commented May 4, 2024

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
Copy link
Author

erebion commented May 4, 2024

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
Copy link
Owner

KRTirtho commented May 4, 2024

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,

  • Home page playlists (personal recommendation ones. No generes)
    • The playlists card should shown one at a time.
    • On, vertical scroll it can switch the palylist category
  • Have the search icon on home screen
    • Search page, just like home will show one item at time
  • Playlist and albums page will have compacted track details. Just the names, separated by comma in bold text. Kind of how spotify does in the mobile app.
  • Library will contain everything just as the app
  • Have a Player UI, that comes up when clicking the watch's rotary nob. Or, just have button in the HomePage
    • It'll have all the controls
    • And will have only the Queue
    • We can also put a button to open the lyrics page
  • We'll cover all of the settings.

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
Copy link
Author

erebion commented May 4, 2024

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
Copy link
Owner

KRTirtho commented May 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants