Closed candrapersada closed 1 year ago
Will be available later. Perhaps, it will added the ability to build as a standalone package also.
Added quick guide.
Traceback (most recent call last):
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/run.py", line 23, in <module>
from app.main import run
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/app/main.py", line 34, in <module>
from imdb import IMDb
ModuleNotFoundError: No module named 'imdb'
Yes, I forgot one step. You need to install IMDbPY.
In the mingw64 shell:
pip3 install imdbpy
The syntax of the command is incorrect.
'charmap' codec can't decode byte 0x90 in position 29835: character maps to <undefined>
Traceback (most recent call last):
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/app/main.py", line 1442, in reload
if self.manager.check_playlist(provider):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/app/common.py", line 300, in check_playlist
content = file.read()
^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/encodings/cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 29835: character maps to <undefined>
Couldn't parse provider info: Free-TV:::url:::https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8:::::::::'
Loading providers...
Free-TV: Getting playlist...
Free-TV: Checking playlist...
"Old" problem -> UTF-8 encoding on Windows.:) What is your system locale? Apparently you have cp1252 .
What output for locale
command in the mingw64 shell?
At me looks so:
$ locale
LANG=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
Couldn't parse provider info: Free-TV:::url:::https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8:::::::::'
Couldn't parse provider info: Free-TV:::url:::https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8:::::::::'
I saw it.
What output for locale
command in the mingw64 shell?
Candra@WIN-FQDKQ385NBO MINGW64 ~
$ locale
LANG=
LC_CTYPE="id_ID.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
OK. Interesting... Needs to experiment on free time. Does this build work at you?
Does this build work at you?
no
Hm, at me works.
OK. I'll experiment as possible.
A subdirectory or file -p already exists.
Error occurred while processing: -p.
A subdirectory or file C:\Users\Candra\AppData\Local\Microsoft\Windows\INetCache\tvdemon\providers already exists.
Error occurred while processing: C:\Users\Candra\AppData\Local\Microsoft\Windows\INetCache\tvdemon\providers.
[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
Added forced playlist reading in UTF-8. I hope it helps.
For an experiment, try local *m3u files also, e.g from here.
not working
Added forced playlist reading in UTF-8. I hope it helps.
working but
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/app/madia.py", line 151, in get_mpv
from . import mpv
File "C:/msys64/home/Candra/TVDemon/usr/lib/tvdemon/app/mpv.py", line 35, in <module>
raise OSError('Cannot find mpv-1.dll or mpv-2.dll in your system %PATH%. One way to deal with this is to ship '
OSError: Cannot find mpv-1.dll or mpv-2.dll in your system %PATH%. One way to deal with this is to ship the dll with your script and put the directory your script is in into %PATH% before "import mpv": os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] If mpv-1.dll is located elsewhere, you can add that path to os.environ["PATH"].
yes working
why is there no clear information on how to run
TVDemon
onMSYS2
in the README?