videoplayer new

This commit is contained in:
Rmys
2021-02-13 17:25:59 +03:00
parent 7c3a5646f7
commit 798430e11a
99 changed files with 262777 additions and 290548 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import glob
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins")
def preRemove():
for cache in glob.glob("/usr/lib/vlc/plugins/plugins-*-*.dat"):
try:
os.unlink(cache)
except OSError:
pass