jarnedemeulemeester / findroid

Third-party native Jellyfin Android app
GNU General Public License v3.0
2.53k stars 158 forks source link

The cause of the playback slow/error was found, Because the app request all the videos in the folder #187

Open msycn opened 1 year ago

msycn commented 1 year ago

Describe the bug First of all, thank you @jarnedemeulemeester for making this most powerful Jellyfin player. Whenever I play a TV show I always find that reading is slow (even though the video is stored locally). But when I play a movie, it's much faster. But when I remove the video from the TV show folder to only one left, it will play quickly.

To Reproduce Steps to reproduce the behavior:

  1. Go to your TV show
  2. Click on Play show S01E01
  3. Record the A time
  4. Scroll down to last episode of Season 1 such as S01E12
  5. Record the B time
  6. B always < A
  7. because when you play S01E01 ,the app will request to load S01E01,S01E02,S01E03....S01E12

Expected behavior Do not request the video sequentially, but read it directly such as you wanna play S01E02, don't request S01E02,S01E03,S01E04....S01E12 in the end Screenshots If applicable, add screenshots to help explain your problem.

Device info (please complete the following information):

Device: [Xiaomi 12S Ultra] Android version: [12] App version: [v0.6.1] Jellyfin version: [10.8.6] Additional context

Additional context Add any other context about the problem here.

jarnedemeulemeester commented 1 year ago

The app indeed requests all subsequent episodes of a tv show. This is done to be able to transition to the next episode from the player.

I see two possible solutions for this:

I think the second solution is the best one. Always request one subsequent episode, instead of loading them all at once.

msycn commented 1 year ago

Thanks for your reply 😃 Yes, I agree with you, because people only watched 1-2 episode once time. This feature can prolong the life of hard disk.This is important for nas users

lhl1115 commented 1 year ago

Has this issue been resolved in the latest version (v0.13.0)? I seem to encounter this problem even with the latest version. When I try to play a season of over 800 episodes of Crayon Shin-chan, it fails to play. I've retried multiple times, but it still fails after a long wait. However, the playback speed for movies is very fast. Jellyfin version :10.8.10 Findorid version :0.13.0, Device :Huawei Mate 30 RS Thank you for your response. This is my first time replying on GitHub, so please forgive any rudeness.

msycn commented 1 year ago

Has this issue been resolved in the latest version (v0.13.0)? I seem to encounter this problem even with the latest version. When I try to play a season of over 800 episodes of Crayon Shin-chan, it fails to play. I've retried multiple times, but it still fails after a long wait. However, the playback speed for movies is very fast. Jellyfin version :10.8.10 Findorid version :0.13.0, Device :Huawei Mate 30 RS Thank you for your response. This is my first time replying on GitHub, so please forgive any rudeness.

Nope,you can try last episode eg.799, it will faster.