Форум XBMC и Kodi. Помощь, поддержка, обсуждение, плагины.

Форум XBMC и Kodi. Помощь, поддержка, обсуждение, плагины. (http://xbmc.ru/forum/index.php)
-   Помощь по плагинам (http://xbmc.ru/forum/forumdisplay.php?f=9)
-   -   Плагин для 1tv.ru (plugin.video.1tv-latest-news) (http://xbmc.ru/forum/showthread.php?t=4715)

bigbax 16.03.2021 00:20

Цитата:

Сообщение от klisanor (Сообщение 158125)
v2.1.0
Добавлены секции Фильмы, Сериалы

Отлично, но с git при обновлении плагина в логе пишет, что 2.1.0.zip не скачивается. Ошибка обновления
2021-03-15 23:56:46.981 T:26746 ERROR <general>: CCurlFile::Open failed with code 404 for https://github.com/DmitrySandalov/xb...ews-2.1.0.zip:

2021-03-15 23:56:46.985 T:26746 ERROR <general>: CAddonInstallJob[plugin.video.1tv-latest-news]: failed to download special://home/addons/packages/plugin.video.1tv-latest-news-2.1.0.zip
https://i.ibb.co/W0CtVnt/Screenshot-20210316-000716.png[/IMG]
p.s. вручную скачал, посмотрел в новые категории. Напарсило: Фильмы=6шт, Сериалы=2шт. Явно меньше, чем на сайте

klisanor 16.03.2021 13:02

Цитата:

Сообщение от bigbax (Сообщение 158130)
в логе пишет, что 2.1.0.zip не скачивается

Исправлено, теперь должно работать

Цитата:

Сообщение от bigbax (Сообщение 158130)
Напарсило: Фильмы=6шт, Сериалы=2шт. Явно меньше, чем на сайте

На сайте в разделе Фильмы и сериалы -> Подкатегория Сериалы: 2шт так и есть
В разделе Фильмы и сериалы -> Подкатегория Фильмы: большинство фильмов "оранжевые" (по подписке). "Зелёных" (бесплатных) вчера в плагине не хватало 2шт, сегодня 1, пока не понял почему.

Есть ещё отдельный сервис https://kino.1tv.ru , но там, похоже, нет ничего бесплатного. Нужна ли поддержка в плагине контента по подписке?

Er1c 17.07.2021 16:07

Версия 1.1.0
Ни чего не работает кроме новостей
2021-07-17 17:48:08.008 T:7768 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 217, in <module>
show_links = get_shows_directory()
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 58, in get_shows_directory
parser.feed(html)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 117, in feed
self.goahead(0)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 161, in goahead
k = self.parse_starttag(i)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 308, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files\Kodi\system\python\Lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
-->End of Python script error report<--
2021-07-17 17:48:08.018 T:4048 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.1tv-latest-news/?foldername=shows&mode=folder
2021-07-17 17:48:08.028 T:608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.1tv-latest-news/?foldername=shows&mode=folder) failed

2021-07-17 17:50:12.333 T:1000 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 235, in <module>
doc_links = get_doc_directory()
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 100, in get_doc_directory
parser.feed(html)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 117, in feed
self.goahead(0)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 161, in goahead
k = self.parse_starttag(i)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 308, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files\Kodi\system\python\Lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
-->End of Python script error report<--
2021-07-17 17:50:12.349 T:2520 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.1tv-latest-news/?foldername=doc&mode=folder
2021-07-17 17:50:12.367 T:608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.1tv-latest-news/?foldername=doc&mode=folder) failed
2021-07-17 17:50:18.266 T:5492 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 226, in <module>
sport_links = get_sport_directory()
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 50, in get_sport_directory
parser.feed(html)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 117, in feed
self.goahead(0)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 161, in goahead
k = self.parse_starttag(i)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 308, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files\Kodi\system\python\Lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
-->End of Python script error report<--
2021-07-17 17:50:18.287 T:4812 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.1tv-latest-news/?foldername=sport&mode=folder
2021-07-17 17:50:18.289 T:608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.1tv-latest-news/?foldername=sport&mode=folder) failed
2021-07-17 17:50:22.587 T:76 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 226, in <module>
sport_links = get_sport_directory()
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 50, in get_sport_directory
parser.feed(html)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 117, in feed
self.goahead(0)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 161, in goahead
k = self.parse_starttag(i)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 308, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files\Kodi\system\python\Lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
-->End of Python script error report<--
2021-07-17 17:50:22.610 T:7212 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.1tv-latest-news/?foldername=sport&mode=folder
2021-07-17 17:50:22.628 T:608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.1tv-latest-news/?foldername=sport&mode=folder) failed
2021-07-17 17:50:26.953 T:5296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 217, in <module>
show_links = get_shows_directory()
File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin. video.1tv-latest-news\addon.py", line 58, in get_shows_directory
parser.feed(html)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 117, in feed
self.goahead(0)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 161, in goahead
k = self.parse_starttag(i)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 308, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "C:\Program Files\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files\Kodi\system\python\Lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range(128)
-->End of Python script error report<--
2021-07-17 17:50:26.979 T:3372 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.1tv-latest-news/?foldername=shows&mode=folder
2021-07-17 17:50:26.988 T:608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.1tv-latest-news/?foldername=shows&mode=folder) failed


Текущее время: 20:30. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.