Plex client for Zidoo devices - ZidooPlexMod

Discussion in 'Plex for Zidoo' started by bowlingbeeg, Dec 31, 2023.

Tags:
  1. Creator44

    Creator44 Active Member

    Seems like we are indeed calling the new class according to the Debug info (New Zidoo Player = True).

    I attached the picture of the debug infos.
     

    Attached Files:

  2. bowlingbeeg

    bowlingbeeg Active Member

    I assume you don't see the zidoo player screen pop up at all right? And you're on the new firmware? Just want to make sure.

    How about this beta version? This throws out a generic intent and will allow you to pick what app is going to respond to it. Does the zidoo player show up in the list?
     

    Attached Files:

  3. Creator44

    Creator44 Active Member

    No I do not see the Zidoo player pop up at all just the "Failed to start Zidoo Player" pop up in ZidooPlexMod directly and yes I am on latest 1.1.42 firmware that just came out.

    I tried your latest 2.8 beta 3 and it's the exact same behavior as beta 2 for me, I do not see a list of classes to choose or anything it just shows the same debug stats as I posted in my last picture and then goes back to "failed to start zidoo player".
     
  4. bowlingbeeg

    bowlingbeeg Active Member

    Sorry, there was a bug in that version. Please try this new beta.
     

    Attached Files:

  5. Creator44

    Creator44 Active Member

    Yes this time I see a pop up with "Open with" and all I see is a list of two apps: PlexToZidoo and ZDMC which are basically the apps that I installed myself.
     
  6. bowlingbeeg

    bowlingbeeg Active Member

    Bummer, was hoping that the zidoo player would be an option. I'll see if the Zidoo developers have any any thoughts.
     
  7. Creator44

    Creator44 Active Member

    Do you think I need to be a developer for it to work ? I factory resetted my z9x 8k to get out of developer mode because I wanted to stay out of it if it’s not needed.
     
  8. Creator44

    Creator44 Active Member

    It works now as I said in the other thread, I need to use the IP Address on the smb path. Using the computer name like on the Z9X Pro does not work. Is it possible to make the computer name work again?

    Also, any idea why I do not need a password for the smb path to work on PlexToZidoo while I did enforce passwords on my pc? The Media Player app won't connect without a password but it just works without a password on PlexToZidoo? Seems to also work without a password on PlexToZidoo on the Z9X Pro?
     
  9. bowlingbeeg

    bowlingbeeg Active Member

    So which version of the beta are you using? Did you go back to the original 2.8_beta?

    I don't have any control over the IP/Computer name being found. I just pass that information to the zidoo player and it's up to them to find the media. I suppose it's possible PlexToZidoo is doing something funky to the path before passing to the zidoo player but based on your pictures it looks correct.

    The username password stuff was supposed to work through the zidoo API but never really did. It seems that the zidoo player uses the credentials stored in the Media Center app. So every now and again I would have to go back into the Media Player app to re-authenticate and then it would work again from PlexToZidoo. I had asked the zidoo dev team about it but never got a response.
     
  10. Creator44

    Creator44 Active Member

    Ok that explains it.

    I'm using the apk from Mirror. I saw that beta1, 2 and 3 were 4.21MB but the 2.7, 2.8 from Mirror and 2.8 beta 4 from you are 2.51MB. My guess is the other ones were compiled with debug versions?

    If you want you can make a final 2.8 clean apk yourself and I can test it. There is still that "Failed to start Zidoo player" popup that does not auto close after stopping the video if you know how to fix that it would be nice.
     
  11. bowlingbeeg

    bowlingbeeg Active Member

    If you turn on the debug option in ZidooPlexMod, recreate the issue and then grab the kodi.log file and send it to me in a PM I can see if there are any errors/issues.
     
  12. Creator44

    Creator44 Active Member

    I enabled debug logging and played back a video and stopped it with the error popup but the kodi.log stays empty.

    I only see one kodi.log and it's at the following path:
    \\<ip_z9x_8k>\Share\Storage\Android\data\com.zidoo.zdmc\files\.kodi\temp\kodi.log

    Is that the right one? I also tried to restart zdmc after activating debug logging and still the log stays empty.
     
  13. bowlingbeeg

    bowlingbeeg Active Member

    Yes, that is the right log. It should never be empty, Kodi always writes to it when it starts up.
     
  14. Creator44

    Creator44 Active Member

    @bowlingbeeg , Do you want to create a new apk at 2.51mb for the final version for me to test so you can put it on your github officially after that?
     
  15. bowlingbeeg

    bowlingbeeg Active Member

    I don't really want to publish anything until we can get things working fully. Here is a new beta that puts back the direct call to the new zidoo player. Can you load this and see if it works?

    Also did you ever figure out why the kodi log wasn't working? Without that I can't debug any issues in ZidooPlexMod.
     

    Attached Files:

  16. Creator44

    Creator44 Active Member

    I tried 2.8 beta 5 and it works fine if I use the IP address but I still get the pop up that doesn't close when I stop the playback but it's not happening every time I play a file and one constant seems to be that it's never happening on the very first file that I play after starting ZDMC and ZidooPlexMod. I can replay the very same file afterwards and the popup will be there.

    I tried enabling debug in ZDMC itself + in ZidooPlexMod but the kodi.log are still empty. I have no idea why. I see the stats in the top left in ZDMC and the path to the log which seem to match but the logs stays empty.

    I have another question: can we use Kodi 21 instead of zdmc 20.2 with zidooplexmod? I did that on the Dune Pro One 8K and it works. Why use ZDMC?
     
  17. bowlingbeeg

    bowlingbeeg Active Member

    Is it related to resuming a movie vs starting from the beginning? And when you start the movie do you make sure to run it for at least 10 seconds before stopping? There can be some delays between when the movie starts and when the monitoring code gets results back from the API. If it never gets any results back then it will leave the "failed to start" popup up.

    Without any debug information I'm not going to be able to support this on the 8K lineup.

    It should work on Kodi 21 but I have not tested it. The base PM4K works on Kodi 21 and the code to monitor the zidoo app isn't going to be any different between the kodi versions. The reason I chose to support ZDMC was because it was stable and specifically modified for the zidoo. So I do all of my testing using ZDMC but for the most part it should work exactly the same in regular Kodi. Feel free to try it but it really shouldn't provide any different experience over ZDMC from a ZidooPlexMod standpoint.
     
  18. Creator44

    Creator44 Active Member

    I tried waiting for more than 10 seconds but the popup still stays even then. Anyway on my Z9X Pro I can play just a small amount and quit and the popup does not stay and it works ok.

    I tried kodi 21, it does work but unfortunately when I stop the playback from the Zidoo player it also kills Kodi itself completely and I am back to the Z9X 8K dashboard. The kodi.log does work on kodi 21 though and I attach the last lines from it that are related to me playing back Aquaman 2 but as you can see the last line after I stop playback just says "CWinSystemAndroid: DestroyWindow" as Kodi gets killed for an unknown reason to me?

    I also tried more start and stop in ZDMC and it really does not do the error popup every time. A pattern that I ALMOST see as it's not a perfect pattern is that when I play a movie for the first time since starting ZDMC it will do the popup on stopping the playback but if I then replay the same movie and then stop it it will never redo the popup on that movie. If I choose another movie I didn't play yet since I started ZDMC then the popup is back and will go away for the other times I play that movie, etc..... SOMETIMES this does not happen and the popup appears often on the same movie playback but not often. Also, the time I wait before I press stop is not an issue as in my tons of tests I kept quitting 1-2 seconds after I started playback and the popup would still not appear.

    It's a pity the logs don't want to work in ZDMC.
     

    Attached Files:

    Last edited: Aug 22, 2024
  19. bowlingbeeg

    bowlingbeeg Active Member

    The monitor code is calling the zidoo api to retrieve status on the video that's playing. I've seen it take up to 10 seconds on the Z9X for the status to come back and say it's playing something. If we never get status back then ZidooPlexMod thinks that it didn't start. So that's why I wanted you to make sure and wait long enough so we're sure the status isn't just slow to come back.

    That last line is normal, it's the closing of the ZidooPlexMod window. After that should be the entry that shows the monitor process start. I'm guessing because kodi crashed that data doesn't get flushed out to the file. Can you sit at the PlexToZidoo debug screen for a while and then collect the log? If you give it enough time I'm hoping that those entries will get flushed out to the log.
     
  20. bowlingbeeg

    bowlingbeeg Active Member

    @Creator44, can you also try running this api request while a movie is playing in the zidoo player and post the results. Just want to make sure the API is working.

    http://<zidoo_ip_address>:9529/ZidooVideoPlay/getPlayStatus
     

Share This Page