Giter Site home page Giter Site logo

iptv-filter's People

Contributors

cmcconomy avatar thatsricci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iptv-filter's Issues

Exclude List

Would you be open to adding an Exclude Categories Method?

error runing from install

Debian Buster updated.
Linux deb 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
Installed per your instructions.
run per your instruction.

Running with the installed version:
python3 manage.py runserver 0:8000 --noreload
24/Jan/2021 08:46:21; root] /home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py:33 in update_m3u_scheduled -- Next M3U Load scheduled for 2021-01-25 04:00:00+00:00
24/Jan/2021 08:46:21; root] /home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py:45 in update_epg_scheduled -- Next EPG Load scheduled for 2021-01-24 14:30:00+00:00
24/Jan/2021 08:46:21; root] /home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py:56 in _retrieve -- Retrieving fresh m3u file from http://XXXXX.XXXX.net:111/get.php?username=XXXXXX&password=XXXXXX&type=m3u_plus&output=ts
Performing system checks...

System check identified no issues (0 silenced).
January 24, 2021 - 08:46:21
Django version 3.1.5, using settings 'project.settings'
Starting development server at http://0:8000/
Quit the server with CONTROL-C.
24/Jan/2021 08:46:23; root] /home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py:63 in _retrieve -- Received fresh m3u file, size 752785
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py", line 15, in update_all
update_m3u()
File "/home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py", line 20, in update_m3u
_update_tables('m3u')
File "/usr/local/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/XXXX/iptv-filter/iptv-filter/iptv_updater/iptv_updater.py", line 95, in _update_tables
pc.stream_url = line
UnboundLocalError: local variable 'pc' referenced before assignment
^C^CException ignored in: <module 'threading' from '/usr/local/lib/python3.9/threading.py'>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 1428, in _shutdown
lock.acquire()
KeyboardInterrupt:

While running, I am able to see web server at localhost:8000, nothing populated.

Running in Docker:
docker-compose up
Starting iptv-filter_web_1 ... done
Attaching to iptv-filter_web_1
web_1 | 24/Jan/2021 08:02:18; root] /code/iptv_filter/apps.py:27 in ready -- Startup - Setting M3U URL as per environment variable
web_1 | 24/Jan/2021 08:02:18; root] /code/iptv_filter/apps.py:32 in ready -- Startup - Setting EPG URL as per environment variable
web_1 | 24/Jan/2021 08:02:18; root] /code/iptv_updater/iptv_updater.py:33 in update_m3u_scheduled -- Next M3U Load scheduled for 2021-01-25 04:00:00+00:00
web_1 | 24/Jan/2021 08:02:18; root] /code/iptv_updater/iptv_updater.py:45 in update_epg_scheduled -- Next EPG Load scheduled for 2021-01-24 14:30:00+00:00
web_1 | 24/Jan/2021 08:02:18; root] /code/iptv_updater/iptv_updater.py:56 in _retrieve -- Retrieving fresh m3u file from "http://XXXXX.XXX.net:111/get.php?username=XXXX&password=XXXXX&type=m3u_plus&output=ts"
web_1 | Exception in thread Thread-1:
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
web_1 | self.run()
web_1 | File "/usr/local/lib/python3.9/threading.py", line 892, in run
web_1 | self._target(*self._args, **self._kwargs)
web_1 | File "/code/iptv_updater/iptv_updater.py", line 15, in update_all
web_1 | update_m3u()
web_1 | File "/code/iptv_updater/iptv_updater.py", line 19, in update_m3u
web_1 | _retrieve('m3u')
web_1 | File "/code/iptv_updater/iptv_updater.py", line 57, in _retrieve
web_1 | r = requests.get(url)
web_1 | File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 76, in get
web_1 | return request('get', url, params=params, **kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
web_1 | return session.request(method=method, url=url, **kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
web_1 | resp = self.send(prep, **send_kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 649, in send
web_1 | adapter = self.get_adapter(url=request.url)
web_1 | File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 742, in get_adapter
web_1 | raise InvalidSchema("No connection adapters were found for {!r}".format(url))
web_1 | requests.exceptions.InvalidSchema: No connection adapters were found for '"http://XXXXX.XXX.net:XXX/get.php?username=XXXX&password=XXXXX&type=m3u_plus&output=ts"'
web_1 | Performing system checks...
web_1 |
web_1 | System check identified no issues (0 silenced).
web_1 | January 24, 2021 - 08:02:18
web_1 | Django version 3.1.5, using settings 'project.settings'
web_1 | Starting development server at http://0:8000/
web_1 | Quit the server with CONTROL-C.
^CGracefully stopping... (press Ctrl+C again to force)
Stopping iptv-filter_web_1 ...
Killing iptv-filter_web_1 ... done

Again, I am able to see the webpage, nothing populated
Thanks

Permission denied with docker-compose up

Recreating iptv-filter_web_1 ... done
Attaching to iptv-filter_web_1
web_1  | /bin/sh: 1: /code/run.sh: Permission denied
iptv-filter_web_1 exited with code 126

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.