vfsfitvnm / ViMusic

An Android application for streaming music from YouTube Music.
GNU General Public License v3.0
8.23k stars 693 forks source link

Android TV support #379

Open MMMATRIX opened 1 year ago

MMMATRIX commented 1 year ago

It would be great if it work on tv os android 11... scaling work but i cant get it to load backup and make shortcut icon.

vfsfitvnm commented 1 year ago

Would you elaborate? I don't have an android tv

Toiletmason commented 1 year ago

@vfsfitvnm I use the app on my firetv. Alot of it works already. Some things aren't selectable using the remote though which requires using a Bluetooth mouse. It would be nice to have that ironed out.

vfsfitvnm commented 1 year ago

Hmm, I can use the (emulated) remote on the (emulated) android tv just fine:

https://user-images.githubusercontent.com/46219656/194698398-8f1a53dd-7d85-4e49-aa4e-63340a24d7d9.mp4

There are only two problems:

Toiletmason commented 1 year ago

@vfsfitvnm my bad...You're using the redesign debug build by the looks of that video. I am using the latest release. Any ETA on the redesign? I've been pretty excited for if and have seen how much work you're putting in. 👍

vfsfitvnm commented 1 year ago

@Fatcakes Today I guess!

Toiletmason commented 1 year ago

@vfsfitvnm I installed the .50 release and some stuff works and doesn't for android tv. You can't access the search anymore, lyrics, or the 3dot options in the bottom right hand corner. Also the media buttons on the remote doesn't work as far as play pause ect. There's probably other things but I just gave it a quick check in the little free time that I had.

vfsfitvnm commented 1 year ago

You can reach the search button from the vertical bar:

https://user-images.githubusercontent.com/46219656/194852017-db1f6325-c2e8-4d1a-ab1f-ed735629f390.mp4

Let's see what I can do about the others

vfsfitvnm commented 1 year ago

The media buttons (play, pause, next, previous) should work fine (https://stackoverflow.com/a/17034414/16885569)

Toiletmason commented 1 year ago

@vfsfitvnm I'm using a FireTV stick, and I can verify that for me they don't. I'm specifically saying the hardware buttons on the remote.

ARBoyGo commented 1 year ago

It's working perfectly for me atleast.

Toiletmason commented 1 year ago

Does the screen go to screen saver/black for anyone else when the player is left up?

SecularSteve commented 1 year ago

If you need an Android TV Icon/Banner, I volunteer to make it.

SecularSteve commented 1 year ago

done (2 variations in case of a vote for a preference)

ViMusic TV 1 ViMusic TV 2

ZIP contains the SVG and PNG files. Made in Inkscape in 3 minutes.

ViMusic TV.zip

vfsfitvnm commented 1 year ago

Thanks. Not sure where/how is supposed to be placed/named/seen, perhaps this?

SecularSteve commented 1 year ago

Thanks. Not sure where/how is supposed to be placed/named/seen, perhaps this?

Seems like it. Maybe it should be renamed the "ic_launcher_tv_banner_foreground" and converted to an appropriate XML file to start off with. Surprisingly easy once you look into it a bit. It's a good thing I already converted the Text to a Path in the SVG.

EDIT: I just read this too: "The banner should be an xhdpi resource with a size of 320 x 180 px. Text must be included in the image. If your app is available in more than one language, you must provide separate versions of the banner with text for each supported language."

Toiletmason commented 1 year ago

@SecularSteve I like the top one better

vfsfitvnm commented 1 year ago

I added the banner. I ended up using android studio's "New" > "Image Asset" > "TV Banner"

ARBoyGo commented 1 year ago

Want to mention, I cannot reach search button. For some reason, Tried Debug Apk.

vfsfitvnm commented 1 year ago

Want to mention, I cannot reach search button. For some reason, Tried Debug Apk.

https://github.com/vfsfitvnm/ViMusic/issues/379#issuecomment-1273143288

ARBoyGo commented 1 year ago

@vfsfitvnm, Tried it, Working. But after playing a song in Quick pick, I'm unable to reach the button, And I can't interact with player. Eg, I played a song in Quick pick, Then I open the full screen player, Then I cannot interact with the player, It is still interacting with quick pick tab. Hope you understand.

vfsfitvnm commented 1 year ago

Yes, that's why this issue is open :smile:

ARBoyGo commented 1 year ago

Oh my god, Okay 😅, I'll Keep waiting...

DavidRLTG commented 12 months ago

Looks like we'll keep waiting!

Driftinginfinitely commented 12 months ago

I'm not the developer, but I'm really stunned by some of the entitled messages on here. You are already getting to use YouTube music for free with an app that has a good UI. That already is quite a lot and if anything further can be offered, it's a bonus. But if not, it's understandable. It doesn't look like the developers have even accepted donations or anything similar to support the app, so doing all this at no cost to others is remarkable.

On Sun, 23 Jul 2023, 08:17 DavidRLTG, @.***> wrote:

Looks like we'll keep waiting!

— Reply to this email directly, view it on GitHub https://github.com/vfsfitvnm/ViMusic/issues/379#issuecomment-1646766705, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAPEHAKKDJHQSUXGLQW6HQ3XRTFZXANCNFSM6AAAAAAQ76BGRI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

DarkCrypt commented 7 months ago

This may be the farthest this issue gets so...

I found an old Spotify tv mod that's working on Android TV 10 if anyone wants to try it out.


Edit: This 2019 mod finally stopped working. Damn.

DavidRLTG commented 6 months ago

Well, Official support would be much more preffered, Where the app UI fits TV, and I can easily navigate with the remote.

DarkCrypt commented 6 months ago

Well, Official support would be much more preffered, Where the app UI fits TV, and I can easily navigate with the remote.

100% agree but highly doubtful this will happen. Better off looking for other options.