Giter Club home page Giter Club logo

Comments (18)

candrapersada avatar candrapersada commented on July 27, 2024 1
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'

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024 1
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=

image

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024 1

yes working

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Will be available later. Perhaps, it will added the ability to build as a standalone package also.

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Added quick guide.

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Yes, I forgot one step. You need to install IMDbPY.
In the mingw64 shell:
pip3 install imdbpy

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024
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...

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

"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=

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024
Couldn't parse provider info:  Free-TV:::url:::https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8:::::::::'

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

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?

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

OK. Interesting... Needs to experiment on free time. Does this build work at you?

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024

Does this build work at you?

no
image

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Hm, at me works.
build

OK. I'll experiment as possible.

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024
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.

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

For an experiment, try local *m3u files also, e.g from here.

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Added forced playlist reading in UTF-8. I hope it helps.

from tvdemon.

candrapersada avatar candrapersada commented on July 27, 2024

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"].

from tvdemon.

DYefremov avatar DYefremov commented on July 27, 2024

Changed the name for library search. Try again.

from tvdemon.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.