Goldenfreddy0703 / Otaku

Repository for Otaku Development
GNU General Public License v3.0
114 stars 22 forks source link

Episodes buffer/reload after about 20 minutes in #173

Closed MohnJadden closed 11 months ago

MohnJadden commented 1 year ago

I'm running Otaku on a new Kodi build. I'm not using any debrid service; the only change I've made is to enable the Verizon alt for Nyaa. About 20 minutes into an episode of any given anime, the playback pauses and seems to reload. I get the spinning progress bar, it loads from 0 to 100, I get another 5-10 seconds of playback, and it repeats for the rest of the episode.

If I go to the next episode, it plays normally until around the 20ish minute mark, then the issue repeats.

Is there a setting somewhere I need to change?

Goldenfreddy0703 commented 1 year ago

Hey there, you must be the same guy on reddit, sorry i did not respond earlier but did resetting your router help you out or resolve your issue your having?

Gujal00 commented 1 year ago

Once playback starts, Otaku is out of the picture, it is all Kodi and its ffmpeg based videoplayer. Nothing to set in Otaku. You can try increasing the network buffer in Kodi's advancedsettings.xml The Value 629145600 is for systems with 4GB RAM. you should halve it if your device has only 2GB RAM

<advancedsettings version="1.0">
    <cache>
        <buffermode>1</buffermode>
        <memorysize>629145600</memorysize>
        <readfactor>8</readfactor>
    </cache>
    <network>
        <disablehttp2>true</disablehttp2> 
    </network>
</advancedsettings>
icarok99 commented 1 year ago

For 1GB RAM

<advancedsettings>
    <cache>
        <buffermode>1</buffermode>
        <memorysize>157286400</memorysize>
        <readfactor>10</readfactor>
    </cache>
    <network>
        <disablehttp2>true</disablehttp2> 
    </network>
</advancedsettings>

For 2GB RAM

<advancedsettings>
    <cache>
        <buffermode>1</buffermode>
        <memorysize>314572800</memorysize>
        <readfactor>15</readfactor>
    </cache>
    <network>
        <disablehttp2>true</disablehttp2> 
    </network>
</advancedsettings>
Goldenfreddy0703 commented 11 months ago

Hey so sense there has not been a response for the last 3 weeks, im going to go ahead and close this issue but @MohnJadden , if you still have any issues with Episodes buffering, refer to the methods above and if they don't work, i can try to look into your connection on this further.

Thank you