weirdgiraffe / plugin.video.giraffe.seasonvar Goto Github PK
View Code? Open in Web Editor NEWplugin for Kodi to watch seasonvar.ru
License: MIT License
plugin for Kodi to watch seasonvar.ru
License: MIT License
Поиск, набранный Cyrillic (ASCII) в ОС Ubuntu 14.04.5 LTS, Android 4.4.2, Windows 7 завершается ошибкой : 'ascii' codec can't decode byte 0xd1 in position 0: ordinal not in range(128)'
Как решение установить кодировку по умолчанию UTF-8.
http://wiki.python.su/Документации/BeautifulSoup
plugin.video.giraffe.seasonvar v.1.2.0 /resources/site-packages/seasonvar/search.py
from urllib import quote
except ImportError: # for python 3.x
from urllib.parse import quote
+import sys
+reload(sys)
+sys.setdefaultencoding("UTF-8")
С 22.06.2018 Плагин показывает все плейлисты, но не проигрывает видео. Видимо seasonvar что-то поменяли.
21:59:50 T:140692290516736 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode characters in position 7-10: ordinal not in range(128)
Traceback (most recent call last):
File "/home/k/.kodi/addons/plugin.video.giraffe.seasonvar-0.0.1/run_plugin_video.py", line 16, in
main()
File "/home/k/.kodi/addons/plugin.video.giraffe.seasonvar-0.0.1/resources/site-packages/addon/plugin_video.py", line 210, in main
}action
File "/home/k/.kodi/addons/plugin.video.giraffe.seasonvar-0.0.1/resources/site-packages/addon/plugin_video.py", line 185, in screen_search
'url': item['url']}),
File "/home/k/.kodi/addons/plugin.video.giraffe.seasonvar-0.0.1/resources/site-packages/addon/common.py", line 61, in make_url
return '{0}?{1}'.format(addon_url, urlencode(params))
File "/usr/lib/python2.7/urllib.py", line 1343, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-10: ordinal not in range(128)
-->End of Python script error report<--
21:59:50 T:140693972035904 ERROR: GetDirectory - Error getting plugin://plugin.video.giraffe.seasonvar/?action=screen_search
21:59:50 T:140693972035904 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.giraffe.seasonvar/?action=screen_search) faile
System: OpenELEC/Kodi/Raspberry PI
00:01:36 440734.281250 T:1684898880 NOTICE: -->Python Interpreter Initialized<--
00:01:37 440735.281250 T:1684898880 NOTICE: {'action': 'screen_search'}
00:01:41 440738.812500 T:1684898880 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: init() takes at most 3 arguments (4 given)
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.giraffe.seasonvar/run_plugin_video.py", line 16, in
main()
File "/storage/.kodi/addons/plugin.video.giraffe.seasonvar/resources/site-packages/addon/plugin_video.py", line 205, in main
}action
File "/storage/.kodi/addons/plugin.video.giraffe.seasonvar/resources/site-packages/addon/plugin_video.py", line 181, in screen_search
s = Show(item['url'], None, None)
TypeError: init() takes at most 3 arguments (4 given)
-->End of Python script error report<--
Сейчас при листании по списку показывается только картинка. Хотелось бы еще пару вещей под картинкой:
16:42:06 T:139830923311424 NOTICE: DVDPlayer: Opening: http://data11-cdn.datalock.ru/fi3lm/3a5b5ac97add06e39bbcbdfb6c381844//7f_Son.of.Zorn.s01e01.WEBDL.720p.NewStudio.TV.a1.17.09.16.mp4
16:42:06 T:139830923311424 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:42:06 T:139830070519552 NOTICE: Creating InputStream
16:42:07 T:139830070519552 ERROR: CCurlFile::Open failed with code 404 for http://data11-cdn.datalock.ru/fi3lm/3a5b5ac97add06e39bbcbdfb6c381844//7f_Son.of.Zorn.s01e01.WEBDL.720p.NewStudio.TV.a1.17.09.16.mp4
16:42:07 T:139830070519552 ERROR: Open - failed to open source <http://data11-cdn.datalock.ru/fi3lm/3a5b5ac97add06e39bbcbdfb6c381844//7f_Son.of.Zorn.s01e01.WEBDL.720p.NewStudio.TV.a1.17.09.16.mp4>
16:42:07 T:139830070519552 ERROR: CDVDPlayer::OpenInputStream - error opening [http://data11-cdn.datalock.ru/fi3lm/3a5b5ac97add06e39bbcbdfb6c381844//7f_Son.of.Zorn.s01e01.WEBDL.720p.NewStudio.TV.a1.17.09.16.mp4]
16:42:07 T:139830070519552 NOTICE: CDVDPlayer::OnExit()
16:42:07 T:139830923311424 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.giraffe.seasonvar/?action=play&url=http%3A%2F%2Fdata11-cdn.datalock.ru%2Ffi3lm%2F3a5b5ac97add06e39bbcbdfb6c381844%2F%2F7f_Son.of.Zorn.s01e01.WEBDL.720p.NewStudio.TV.a1.17.09.16.mp4]
Zip плагина будет для добаваления в сирчер?
Планируется ли такая вещь? Очень хочется видеть список "Обновления", и пометку просмотренного в kodi на сайте (чтобы исчезало из "Обновления").
Ведь seasonvar как раз и хорош тем что показывает новые серии любимых сериалов, а не надо рыться и следить за выходом как на других сайтах/плагинах.
Ранее было возможно смотреть в HD (как-то модифицировалась ссылка на видеофайл).
Как описано https://github.com/denisukvadim/Seasonvar/blob/master/README.md
Есть возможность имплементировать в плагине?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.