You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
new custom playlist processing
This commit is contained in:
@@ -6,7 +6,7 @@ import libcache
|
||||
from modules import *
|
||||
|
||||
def prefetch(path):
|
||||
if os.name == "nt": return
|
||||
if os.name != "posix": return
|
||||
with open(path, "rb") as f:
|
||||
fd = f.fileno()
|
||||
os.posix_fadvise(fd, 0, 0, os.POSIX_FADV_SEQUENTIAL)
|
||||
|
||||
Reference in New Issue
Block a user