Jellyfin AndroidTV Client Thread

Discussion in 'Jellyfin for Zidoo' started by andy22, Jun 18, 2022.

Tags:
  1. Zaudio

    Zaudio Member

    How do you know it is actually using the direct path to play with the External Zidoo player? I was using the official Android TV client, but it will not use the direct paths, and the devs confirm they do not use that option.
    You can check if it is using direct path by bringing up the info menu while playing; if the info has 'Stream' and no movie name, then you are streaming via the JF server still. I'd be very interested if you actually figured out a way to get the official app to make use of Direct path on the Zidoo, as I need that for stable playback; my JF server running in a container on my synology NAS, with traffic routing through there results in random 'frame skips' during playback. I do not get these at all playing directly with the zidoo player.
     
  2. Zaudio

    Zaudio Member

    A bit of a late reply, but this has been my experience also. I narrowed the cause down to where my JF server is running and how the official android TV JF app routes all streams through it so it can convert them to an http stream. You need to be able to direct play like Andy's fork can to avoid this. I just started using Andy's fork, despite it being old now, for this reason.
    Please go and vote here to persuade the JF devs to actually implement the direct path option for playback to external player:
    https://features.jellyfin.org/posts...g-true-network-path-to-reduce-network-routing
     
    Last edited: Oct 24, 2023
  3. 3DBuff

    3DBuff Well-Known Member

    You are correct. The direct path was entered in Andy's JF version and maintained in official Android version. Any movie I play shows "Stream" instead of the movie title indicating that it's not using direct path. Here is something interesting. My main collection of 4K HDR movies is on Zidoo Z9X with 2 USB hard drives 8TB and 10TB plus 16TB SATA. I can play those movies 40GB files from JF official Android client on this very Zidoo Z9X without a glitch, even jumping the timeline. Info screen is showing "Stream". In order for this to work the file has to be sent from this Zidoo attached hard drive to Raspberry Pi 4 server that will send it back as a stream to the very same Zidoo Z9X. With all the issues that people complain how bad Zidoo is on networking and SAMBA I didn't think it was possible. I think the connection between Z9X and RPi goes through couple of switches on my Gigabit Network. Works so flawlessly that I didn't think it was streaming through RPi. Jellyfin server is running directly on Raspbian 64 bit without container.
     
  4. martinstraka8282

    martinstraka8282 Active Member

    If it shows "stream", is that Direct Stream where it transcodes audio but leaves original video untouched?
     
  5. 3DBuff

    3DBuff Well-Known Member

    I don't know if there is a way to see what is original and what transcoded. Stream means it is sent from server (Raspberry Pi in my case) rather than reading the file directly from network NAS location.
    If you have one NAS like Synology with Jellyfin server loaded on it the direct path will be to SMB server on Synology and stream will be the the same file sent by Synology processor using Jellyfin server and reading it internally. It should be less process demanding using direct path.
     
  6. martinstraka8282

    martinstraka8282 Active Member

    Ya doesn't seem to be a way to tell. I run a separate server from my NAS too, just PC based. I guess I was mostly wondering if what is reporting as stream on the Jellyfin is what they refer to at the link as "Direct Stream" and define as "Direct Stream: Transcodes audio but leaves original video untouched."

    https://jellyfin.org/docs/general/server/transcoding/
     
  7. 3DBuff

    3DBuff Well-Known Member

    You could probably explore the original file with media info tool and record audio and video info. Compare it to the info from Zidoo player during JF streaming and see if that changes.
     
  8. martinstraka8282

    martinstraka8282 Active Member

    Ya I might check that out. I tried looking on the server end and can't tell anything there. The bit rates and audio/video codecs seemed like everything was playing as it should.

    On another note, I've found a significant issue with sorting that I hadn't noticed before because I usually peruse my library for a show or movie from another device like my phone or tablet, then just turn on the Zidoo in the theatre and load it up. The issue I've found is that when I change the sorting option like say from "last played" to "date added", only the first 4 or so rows are sorting correctly, then after that it's in the same order of movies no matter what sorting option I select.

    Anyone else notice that or mind checking?

    I found that if I force close the app in clean up or reboot the Zidoo, it will sort properly once, but then the next time I select a different sorting option, it does it again. Basically it means that after the first 4 or so rows, everything is in the same order no matter what sorting option I select. Because of what I said above, I don't even know if this was a gremlin that popped up or if it was always behaving this way.
     
  9. Six66Mike

    Six66Mike Active Member

    Yeah I checked on my Z9X, changed from A-Z to Premier Date, first 5 rows works backwards, then it's not even an alphabetical or release date sort, like the first one out of order starts with Among from 2002, then the dates and titles don't appear to be in any sort of order at all. I went back to A-Z and it was still messed up til I rebooted. I didn't try other sort options after that.
     
  10. Zaudio

    Zaudio Member

    Please do go vote for Jellyfin to add Direct path playback to the official app... I posted the link just above. The more people that vote, the more likely they might actually implement it. It was first requested in 2021!
     
  11. martinstraka8282

    martinstraka8282 Active Member

    Damn, so it's not just me. I was hoping this was something that maybe just popped up on mine that I might be able to reverse by uninstalling and re-installing or something.

    Pretty tough detail with no workaround other than picking a movie on another device first, unfortunately.

    Does Andy's version still work fine? I might have to go back to that one.
     
  12. Zaudio

    Zaudio Member

    I'm using Andy's version with almost the latest server, so yes.
     
  13. martinstraka8282

    martinstraka8282 Active Member

    Cool, thanks. I'll probably load it back up tonight.

    It's a shame, that issue above is my only complaint, but a bit of a deal breaker.
     
  14. martinstraka8282

    martinstraka8282 Active Member

    I tried the newest beta version and had the same issues with sorting, so loaded up Andy's old version instead.

    Guess that Android app wasn't as good of a match as I thought. Does not display the same behavior on my Nvidia Shield.
     
  15. Six66Mike

    Six66Mike Active Member

    Did you raise a bug on their github?
     
  16. martinstraka8282

    martinstraka8282 Active Member

    No I haven't. Do you mean the Jellyfin Github? Would this be a Jellyfin issue?

    Since the app works fine on my Nvidia Shield in another room, I assumed this was a Zidoo issue, and there doesn't seem to be much point to trying to bark up that tree.

    Edit: I went ahead and raised it on their Github
     
    Last edited: Nov 2, 2023
  17. andy22

    andy22 Active Member

    small update:
    ### 0.14.10
    • add support for "RTD1619BPD" based models (Z9X Pro...)
    • add AV1 for supported models
    • fix Zidoo API detection on new models
    This version mainly fixes some issues with the newer "RTD1619BPD" based models.

    Android 11 models: https://github.com/Andy2244/jellyfi...4.10-zidoo_edition-Android11.beta-release.apk
    Android 6-9 models: https://github.com/Andy2244/jellyfi....10-zidoo_edition-Android6-9.beta-release.apk

    There should be no need to update for the older Android 9 based models.

    Announcement:
    So what happened? Basically "life", i got laid-off last year and at the end of the year we where also hit with the sudden loss of a family member.
    I got a new job and had to adjust, but now i'm out of the trial period, so money is not an issue anymore, but time is still hard to come-by.

    So here is the current plan regarding the Jellyfin version:
    new "Lite" version:
    • i will merge all "essential" and easy to port Zidoo changes/features into a new "lite" version
    • this new "lite" version will always be based on the latest official version and its main goal is to easily merge/maintain changes, that upstream wont accept
    • i expect to carry over the Zidoo playback API, audio/transcode options, subtitle/audio logic
      • need to check if direct-path/playback is quickly doable with the new version, i think the server still send the paths
    • this means the "lite" version will most likely have none of the more complex Ui/Layout changes
      • need to evaluate, which of those might be accepted by upstream
    Next, i will try to "fix" my relationship with the upstream Jellyfin app dev's and see which of my UI/Layout and other changes/fixes have a chance to-be integrated into the official version.
    Based on the response/feedback i will evaluate if i want to also maintain a more "drifting" fork/version with the more complex changes. This makes only sense if my personal "must have" features wont be accepted into the official version.

    That's basically it, so the main goal is to find a reasonable long-term way to maintain "good" functionality of the JF-client for Zidoo devices, while i can work this into my normal "life" schedule.
    So the new "Lite" version based on 0.15.x will be the main priority for now and than the slow process of getting more complex changes into the official app will follow, but i expect this to be a rather slow process.

    PS: So thanks again for all your past feedback/suggestions and sorry that i had to take a hard break.
     
    Last edited: Nov 5, 2023
    Edworld, boxerfan, Nathan W and 10 others like this.
  18. Markswift2003

    Markswift2003 Well-Known Member SUPER Administrator Beta test group Contributor

    Andy, it's great to see you back again, really hope all is well with you now, Mark.
     
    Hippoponderous likes this.
  19. Sledgehamma

    Sledgehamma Well-Known Member

    Wish you all the best mate! Very glad to see you back here :)
     
    Hippoponderous likes this.
  20. Zaudio

    Zaudio Member

    Thanks for all the fantastic work and your time that you put into this. Truly appreciated!
    FTW direct path is an essential in my setup as my weaker JF server chokes the stream randomly. Your direct path solution works flawlessly.
     

Share This Page