Posts: 77
Joined: Feb 2020
Reputation:
11
I think I figured out the issue, I'm assuming you just have channels added but no folders. The code checks to see if that option is disabled or if the number of folders is 0. I'll submit a pull request to change that.
For now, you could add a folder and those options should go away.
Posts: 77
Joined: Feb 2020
Reputation:
11
Never got anywhere with it, couldn't figure out an easy way to do it with what the youtube api allows
Posts: 11
Joined: Sep 2022
Reputation:
0
Hello,
I'm running Kodi on an Orange Pi via LibreELEC. When I switch away from Kodi to another source and turn off the TV, I'd like it to stop downloading the live YouTube video stream that I'm watching, but keep the Orange Pi running, i.e. stop when HDMI is disconnected / no output device.
Is this possible to achieve?
Posts: 44
Joined: Nov 2021
Reputation:
1
pazu1
Junior Member
Posts: 44
not able to add more channel with following error log 0.42 matrix 1
ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib.error.HTTPError'>
Error Contents: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ytchannels\default.py", line 4, in <module>
ytchannels_main()
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ytchannels\resources\lib\ytchannels.py", line 348, in ytchannels_main
results=search_channel(channel_name)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ytchannels\resources\lib\functions.py", line 282, in search_channel
read=read_url(req_url)
File "C:\Users\Jung\AppData\Roaming\Kodi\addons\plugin.video.ytchannels\resources\lib\functions.py", line 152, in read_url
response = urllib.request.urlopen(req)
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "C:\Program Files\Kodi\system\python\Lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
-->End of Python script error report<--
Posts: 44
Joined: Nov 2021
Reputation:
1
pazu1
Junior Member
Posts: 44
never mind it's because youtube data queries per day limit
was setting up youtube channel on different machine..
Posts: 44
Joined: Nov 2021
Reputation:
1
pazu1
Junior Member
Posts: 44
are there ways to update channel without spending quota to update channels on different machines? like for youtube addon copying search.sqlite
Can I just copy youtube_channels.db file on different machine and they will create same channel without wasting quota?
Thanks in advance