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

[New App Shortcut]: Jio Cinema and Sony Liv #359

Closed
clintferns2911 opened this issue Mar 27, 2024 · 20 comments
Closed

[New App Shortcut]: Jio Cinema and Sony Liv #359

clintferns2911 opened this issue Mar 27, 2024 · 20 comments
Assignees
Labels
enhancement New feature or request Needs More Information Cannot continue resolution of this issue without more information New App Shortcut Request for a new Firemote app shortcut

Comments

@clintferns2911
Copy link

App Name

Jio Cinema and Sony Liv

Device Platform

Amazon Fire

App Store Link and/or URL to .apk file if sideloaded

No response

Application Details

restored: true source_list: com.amazon.tv.launcher device_class: tv supported_features: 22961 --

Optional Comments

Not sure if I did this correctly?
these are the URLS for the services, they have a web version and I also have them installed on my fire tv
https://www.jiocinema.com/
https://www.sonyliv.com/

@clintferns2911 clintferns2911 added enhancement New feature or request New App Shortcut Request for a new Firemote app shortcut labels Mar 27, 2024
@PRProd PRProd changed the title [New App Shortcut]: [New App Shortcut]: Jio Cinema and Sony Liv Mar 28, 2024
@PRProd
Copy link
Owner

PRProd commented Mar 28, 2024

@clintferns2911 ~

This is a good start, but unfortunately you didn't provide the required information in the Application Details section. Additionally, since you put two requests into one issue (usually I prefer one per issue, but this is OK) I will need you to provide that information twice - once for each application.

Click here to review the instructions

I tried to download the apps you requested, but I'm not sure that I have the correct versions. which is why I need you to do this procedure on your end.

For example, after launching Jio Cinema and completing the steps through step 9, this highlighted section is what I need to know from you:

image

This is how you would reply:

adb_response: mSurface=Surface(name=)/@0xabfb729
      mSurface=Surface(name=com.jio.media.stb.ondemand/com.v18.voot.ui.JVHomeActivity)/@0x8d9b037
  mCurrentFocus=Window{23f76cf u0 com.jio.media.stb.ondemand/com.v18.voot.ui.JVHomeActivity}
  mFocusedApp=AppWindowToken{83f9a72 token=Token{8b83b7d ActivityRecord{f17ddd4 u0 com.jio.media.stb.ondemand/com.v18.voot.ui.JVHomeActivity t3218}}}

Conclusion:

What I need next is the adb_response for both of your app requests:

  • JioCinema
  • Sony LIV

Thanks

@PRProd
Copy link
Owner

PRProd commented Mar 31, 2024

@clintferns2911 - Have you had a chance to look at this yet?

@clintferns2911
Copy link
Author

HI Apologies, I'll try your instructions and will get back to you

@clintferns2911
Copy link
Author

Hi sorry for the delayed response. I've followed the steps however i can only get this info

adb_response: mAnimationIsEntrance=true mSurface=Surface(name=com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext)/@0x6202058 mCurrentFocus=Window{df06755 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext} mFocusedApp=AppWindowToken{e41206c token=Token{af8951f ActivityRecord{6d4f0be u0 com.amazon.tv.launcher/.ui.HomeActivity_vNext t1276}}} hdmi_input: null device_class: tv friendly_name: Fire TV 192.168.0.197 supported_features: 22961 source: com.amazon.tv.launcher entity_picture: /api/media_player_proxy/media_player.fire_tv_192_168_0_197?token=9dbbb2d11309c5da6d7d7653ce88ea73af6c5f087b2b19bcfbbafaea747b2bfd&cache=727aec1df3c6bc65 --

I can't get it to display the jio cinema or sony liv details. Although I can open the app on my tv with my remote.

@clintferns2911
Copy link
Author

Oh wait, I launched it on the tv and then looked back at home assisant and saw this

adb_response: mAnimationIsEntrance=true mSurface=Surface(name=com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext)/@0x6202058 mCurrentFocus=Window{df06755 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext} mFocusedApp=AppWindowToken{e41206c token=Token{af8951f ActivityRecord{6d4f0be u0 com.amazon.tv.launcher/.ui.HomeActivity_vNext t1276}}} hdmi_input: null device_class: tv friendly_name: Fire TV 192.168.0.197 supported_features: 22961 source: Jio Cinema entity_picture: /api/media_player_proxy/media_player.fire_tv_192_168_0_197?token=9dbbb2d11309c5da6d7d7653ce88ea73af6c5f087b2b19bcfbbafaea747b2bfd&cache=4044300f08cc78ab source_list: Jio Cinema app_id: com.jio.media.stb.ondemand --

@clintferns2911
Copy link
Author

for sony liv

adb_response: mAnimationIsEntrance=true mSurface=Surface(name=com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext)/@0x6202058
mCurrentFocus=Window{df06755 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext}
mFocusedApp=AppWindowToken{e41206c token=Token{af8951f ActivityRecord{6d4f0be u0 com.amazon.tv.launcher/.ui.HomeActivity_vNext t1276}}}
hdmi_input: null
device_class: tv
friendly_name: Fire TV 192.168.0.197
supported_features: 22961
source: com.onemainstream.sonyliv.android
entity_picture: /api/media_player_proxy/media_player.fire_tv_192_168_0_197?token=9dbbb2d11309c5da6d7d7653ce88ea73af6c5f087b2b19bcfbbafaea747b2bfd&cache=646ec7593e90c2a8
source_list: com.onemainstream.sonyliv.android
app_id: com.onemainstream.sonyliv.android

@clintferns2911
Copy link
Author

I also noticed that the button on the dashboard didn't launch disney plus even though i had it installed on the firestick, i assume cause it's an indian version of dinsey+ so i put that info as well below

adb_response: mAnimationIsEntrance=true mSurface=Surface(name=com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext)/@0x6202058
mCurrentFocus=Window{df06755 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext}
mFocusedApp=AppWindowToken{e41206c token=Token{af8951f ActivityRecord{6d4f0be u0 com.amazon.tv.launcher/.ui.HomeActivity_vNext t1276}}}
hdmi_input: null
device_class: tv
friendly_name: Fire TV 192.168.0.197
supported_features: 22961
source: Disney+ Hotstar
entity_picture: /api/media_player_proxy/media_player.fire_tv_192_168_0_197?token=9dbbb2d11309c5da6d7d7653ce88ea73af6c5f087b2b19bcfbbafaea747b2bfd&cache=40e251d7229f7549
source_list: Disney+ Hotstar
app_id: in.startv.hotstar

@clintferns2911
Copy link
Author

I'm really sorry casue I'm very new to all of this and thank you for being so kind and patient with me.

@PRProd
Copy link
Owner

PRProd commented Apr 7, 2024

@clintferns2911 ~

Thanks! These responses are a lot closer to what I was looking for... not quite perfect though. 😄 What needs to happen is for you to open the app on your device first, and after it's open, then you run the command on your Home Assistant system. No problem, though. The information you provided does help a little bit.

Jio Cinema

I think I have what I need for this one

Sony Liv

I think you might be running an old version of this app. Here is what I found from the information you provided in your answer as compared to the latest version that I found online:

Your Post I found
app name com.onemainstream.sonyliv.android com.sonyliv
download link https://apkcombo.com/sonyliv/com.onemainstream.sonyliv.android/ https://apkpure.com/sony-liv-sports-entertainment/com.sonyliv
last updated Feb 27, 2019 Mar 22, 2024
Logo image image

Can you check for me to confirm that you have the latest version? If you do, please launch that app FIRST, then run the command, then post the results for me one more time.

Disney+

Based on the information you sent, I don't believe that you are running the Disney+ app. It looks like you actually have an app called Disney+ Hotstar. Please open a new app shortcut request for Disney+ Hotstar

@PRProd PRProd added the Needs More Information Cannot continue resolution of this issue without more information label Apr 7, 2024
PRProd added a commit that referenced this issue Apr 11, 2024
v3.3.2

What's New
 - App Launcher for Red Bull TV (closes #358)
 - App Launcher for Jio Cinema (#359)
 - Apple TV Launcher added for PIA VPN (closes #363)
 - Updated artwork for PIA VPN launcher button
 - App Launcher for Telia Play (closes #366)
 - App Launcher for KEXP TV Stream (closes #368)

Testing
 - App Launcher for Sony Liv (#359)

Can't see these changes after updating? Visit this link:
https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh
@PRProd
Copy link
Owner

PRProd commented Apr 11, 2024

@clintferns2911 ~

I just published Firemote version v3.3.2 which contains an app launch button for Jio Cinema that should work properly, and a button for Sony liv for you to try. (that one probably won't work) After updating to the newest Firemote version, if you are unable to see the new updates, please visit this link for help: https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh

I'm looking forward to hearing from you soon.

-Doug

@clintferns2911
Copy link
Author

clintferns2911 commented Apr 13, 2024 via email

@clintferns2911
Copy link
Author

clintferns2911 commented Apr 13, 2024 via email

@PRProd
Copy link
Owner

PRProd commented Apr 13, 2024

@clintferns2911 ~

Nevermind, I had to redownload it. JioCinema works fine! Thanks

Great! I was actually just writing a response to you about that, so I'm glad you were able to figure it out on your own.

SonyLIV doesn't work. What would I need to do?

That was somewhat expected, which is why I mentioned that it probably wouldn't work. In order to move towards getting it to work, I need you to take a look at what I wrote about Sonly liv in my comments above and provide answers to my questions.

I also found that fire stick lite 2020 works the best for me, not sure if
you did anything new?

I didn't do anything new. You did something new by choosing the correct device model as I had guided you to do in discussion #360. When you've set everything properly through the Firemote menus, Firemote does the best it can to be as compatible with your devices as possible. If you tell Firemote that you are controlling the wrong kind of device, that's where you run into issues. It's important to get your settings right, so I'm glad you were able to do that.

Finally how would I add Disney+ hotstar (Indian version of Disney+)

As I mentioned in my reply above:

  • Based on the information you sent, I don't believe that you are running the Disney+ app. It looks like you actually have an app called Disney+ Hotstar. Please open a new app shortcut request for Disney+ Hotstar

Also I was planning on getting the latest firestick 4K version from Amazon,
would anything need to be changed with that?

Yes. When you use a different model, you need to select that model from the list. Depending on if you get the 4K or the 4K Max, that will determine which one you should use.

image

Caution

As stated in the Firemote Wiki under the section titled Known Limitations I wrote this very important message:

image

If you buy one of those two devices listed, you WILL HAVE LAG when using the navigation and some other buttons. This was your original concern with the device you have now. If you use one of these two listed devices, the lag will be there and there will be no fix for it.

I hope this helps.

I look forward to your new app shortcut request for Disney+ Hotstar, and the answers to my questions about Sony liv

-Doug

@clintferns2911
Copy link
Author

clintferns2911 commented Apr 14, 2024 via email

@clintferns2911
Copy link
Author

clintferns2911 commented Apr 14, 2024 via email

@PRProd
Copy link
Owner

PRProd commented Apr 15, 2024

@clintferns2911,

Hello again Clinton!

For Sony Liv, this is what it shows, I checked this after I opened the app
on my tv. I hope this is what you need.

Thank you for answering that part of my question, but I still need more information. As stated above I also need you to check to see if you are actually using the newest version of the Sony liv app, and tell me which of the two logos I posted is the correct one in your region for the most updated version of that application.

Glad you told me about the issues with the firestick 4K and 4K max, those
we're the devices that I was looking at getting and now will hold on
getting them. The current firestick runs fine, just a bit slow, especially
when it first starts.

I also noticed that when it first starts and if I try to use the firemote
card to control it, it won't allow me to navigate, however if I use my
physical remote and press a left or right button for example and then use
the card, it works fine. Not sure if this is my error or a known thing.

Topic moved to discussion #360

Oh I also wanted to ask if it was possible to build out my own card?

For example if I only wanted the app launchers, the navigation part and the
volume and home part?

Topic moved to discussion #360

@PRProd PRProd closed this as completed in 53ba5eb Apr 15, 2024
@PRProd PRProd reopened this Apr 15, 2024
@PRProd
Copy link
Owner

PRProd commented Apr 15, 2024

Sorry... I was wrong. I sent a message saying that the Sony liv issue was complete, but that was an error on my part.

@clintferns2911
Copy link
Author

Hello Doug, I think I messed something up.
I'm very sorry firstly if this is the wrong post to ask for help in. Honestly this is my first interaction with a dev and this is all very new and daunting to me. I got your last message and will try to post in the correct place, but if I mess up again, please guide me. I'm still learning :)

So after trying the last update that I got on HA, I can't see the new disney+ hotstar that you mentioned was added. I tried to clear cache by trying ctrl+f5, i also tried a restart of the server and as a final resort even tried to remove firemote and reinstall it through HACS.

I still didn't find the disney+hotstar shortcut, however to my horror i can't see the jio cinema or the sony liv shortcut either (even thought it didn't work)

I really don't want what I did, but I'm sorry if I broke something.

I've uploaded a screen shot as well. I'm open to doing a remote session as well if that helps?

Thanks
Clinton.

Screenshot 2024-04-17 230326

@PRProd
Copy link
Owner

PRProd commented Apr 18, 2024

@clintferns2911 ~

We're going to get this working for you, have no fear! 😄

...this is my first interaction with a dev and this is all very new and daunting to me. I got your last message and will try to post in the correct place, but if I mess up again, please guide me. I'm still learning :)

Oh wow! Please don't be intimidated by me or this process in any way, Clinton. I'm just a random guy who made a thing you have questions about. 😄 Asking for assistance is encouraged. I apologize if I've said or done anything that makes things feel more daunting.

Since your question includes issues with the JioCinema and Sony liv shortcut buttons, this is on topic [New App Shortcut]: Jio Cinema and Sony Liv #309 You've posted this question in the right place:

So after trying the last update that I got on HA, I can't see the new disney+ hotstar that you mentioned was added. I tried to clear cache by trying ctrl+f5, i also tried a restart of the server and as a final resort even tried to remove firemote and reinstall it through HACS.

I still didn't find the disney+hotstar shortcut, however to my horror i can't see the jio cinema or the sony liv shortcut either (even thought it didn't work)

🚀 You are on the right track with your troubleshooting steps! This is absolutely a cache issue! 🚀

Oddly enough though, somehow Home Assistant cache is so incredibly sticky that sometimes it won't clear/refresh through the normal methods, and sometimes it even has this strange ability to revert to something from a long time ago! While it can be frustrating when this happens, a strong persistent cache is actually a good thing! It contributes towards a lot of the speed and ease of use we all enjoy while using Home Assistant.

So how do we overcome it? You've likely seen me post this link before. It happens to be the most popular article on the Firemote wiki, and it explains multiple ways you can use to try to clear your sticky cache. You've already done a few of these things, but there are more steps to try, so I encourage you to read it and go through the steps:
https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh

Unfortunately, that screen shot you sent me was an image of the HACS store that shows my gitHub repo readme page. It does not show your dashboard, but that's OK. This is what it could look like for you when you've solved the cache issue:
image


After you have that resolved, I'm still waiting to hear back from you on this topic:

... I still need more information. As stated above I also need you to check to see if you are actually using the newest version of the Sony liv app, and tell me which of the two logos I posted is the correct one in your region for the most updated version of that application.

After I know that you are indeed using the newest version of the Sony liv app, and you tell me which of those two logos is the one you see on your system, I believe that I'll be able to complete this issue.

Thanks!

-Doug

@PRProd PRProd closed this as completed in 6554883 Apr 22, 2024
@PRProd
Copy link
Owner

PRProd commented Apr 22, 2024

@clintferns2911 ~

Good news, hopefully! I've just published Firemote version v3.4.0 which I believe should contain working launch buttons for both JioCinema and your version of Sony liv. I'm going to close this issue as resolved, but if something still doesn't work right for you, please let me know.

Enjoy!

-Doug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Needs More Information Cannot continue resolution of this issue without more information New App Shortcut Request for a new Firemote app shortcut
Projects
None yet
Development

No branches or pull requests

2 participants