YouTube Plugin by Taapat [*deb]

oys

Registered
Messages
557
Update ...11.08.2020


-[YouTubeUi]:
*small style fixes
*fix previus commit
*Also some other style fixes.)
*fix ngettext import
*Intruducet in previous commit
 

oys

Registered
Messages
557
Youtube_h1+git569+0e62889-r0.0 от 07.09.2020


● Openvix compatibility patch
●YouTubeSearc: restore MenuActions
(Removed in previous commit.
This fix menu callback on OpenPli.)
● YouTubeSearch: use BUTTONS_FOLDER for compatibility with older images
● YouTubeSearch: add VKeyIcon widget if not exist in self
● YouTubeSearch: set the VKeyIcon widget on screen init in all cases
(As I see on openvix VKeyIcon is set only in case if it doesn't exist in self, so it shouldn't break anything.
In fact, the VKeyIcon widget here is needed only for compatibility with the skins that use it.)
●YouTubeSearch: always shows key_text in skin
(There are no other config values that should not use a virtual keyboard, so it is not necessary to use convert ConditionalShowHide to enable or disable key_text in some cases.)
● Add polish language, thx jacc555
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
Edit last version with latest update ...


-fix JSON object extraction from string, thx zmej to point on this

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update to last version with latest update ...


-Regenerate YouTube.pot file
(No translation changes, only location updates)
-YouTubeVideoUrl: try fix problem with new youtube player
-YouTubeVideoUrl: try fix new youtube player on age restricted videos
-YouTubeVideoUrl: remove function extract_embedded_config
-YouTubeVideoUrl: if no supported formats found, try again 2 times
(I hope this can help fix problems with a new player who needs cookies which is only offered a few times.)
-YouTubeVideoUrl: add some loggin info in video extract
-YouTubeVideoUrl: try fix retrurn url on retrying extract
(I don't know why, but travis tests show that when trying again the extract url is returned as None.)

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update to last version with latest update ...

-YouTubeVideoUrl: fix 2 time try if no supported formats found
(Looks like I've missed how extract function recursion works.)
-YouTubeVideoUrl: add unavailable error message
-YouTubeVideoUrl: fix error messages on python 3
-YouTubeVideoUrl: small optimization in extract error messages
-YouTubeUi: remove All choice from search and language
(You need to specify a specific region and language, the All option is not valid here.

Thanks RAED
 

oys

Registered
Messages
557
latest update ...

-YouTubeUi: add in _tryStr() workaround if image python have str() problems
-YouTubeUi: don't try workaround in _tryStr() on KeyError
-Revert "YouTubeUi: remove All choice from search and language"
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

-YouTubeVideoUrl: update extractor
-YouTubeVideoUrl: add support for rental videos previews
-YouTubeUi: fix language code parse in workaround
(For countries where the country code is different from the country abbreviation.
For example English abbreviation is EN but code GB.)
-YouTubeVideoUrl: improve error reason extraction
-YouTubeUi: fix default search region
(On OpenPli getLanguage() return en_EN if defult language is used.
However a country code EN in ISO-3166 does not exist.
Use All search region if default en_EN is returned.)
-YouTubeUi: second try to fix country code parse workaround
-YouTubeVideoUrl: remove unneed checks in error messages

Thanks RAED
 

oys

Registered
Messages
557
update ...

-Revert "YouTubeVideoUrl: try fix new youtube player on age restricted videos"
-OuTubeVideoUrl: improve age-gated videos extraction, thx dstftw (Based on: ytdl-org/youtube-dl@59d63d8)
-YouTubeVideoUrl: improve yt initial player response extraction, thx dstftw (Based on: ytdl-org/youtube-dl@20c50c6)
-YouTubeVideoUrl: remove now unused _html_search_**** and _****_regex
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...to latest version

-YouTubeApi: fix access token renew, thx for report mop80
urllib2 raise HTTP Error on Unauthorized acess.
So neet to use except for HTTPError to get error code 401 for access token renew.

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...to latest version


-YouTubeApi: fix access token renew, thx for report mop80
urllib2 raise HTTP Error on Unauthorized acess.
So neet to use except for HTTPError to get error code 401 for access token renew.
-Make log more verbose
Print exceptions reasons in enigma log
-Small optimization in OAuth code

Thanks RAED
 

kargo.25

Super VIP
Messages
9,725
Update ...


-Optimization in YouTubeApi code
-Another samll code optimization in OAuth
-More patches to make it more compitable with newvirtualkeyboard
 

oys

Registered
Messages
557
update ...

-YouTubeApi: use order in search list
To display the result according to the search settings.
Thx for report al2001sod.
-Fix changed arguments in playlistItems_list in tests
-YouTubeApi: fix playlistItems_list parametrs
-YouTubeUi: fix arguments in videoIdFromPlaylist
-YouTubeApi: next code optimization
-YouTubeApi: fix headers in get_aut_response
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
update ...

-YouTubeUi: use pageUp when return from download directories set
(This allows you to save the settings immediately without moving to another row.)
-YouTubeApi: sort subscriptions by order of activity
(It will show subscriptions with the last activity at the top of the list.)
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

-YouTubeVideoUrl: add mark_watched
(It should mark watched videos that you are playing or downloading if you have authorization in the plugin.
-YouTubeVideoUrl: remove unused from mark_watched (Forgotten in tests)

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

-Update urlparse imports
-Use python3's backported parse_qs code only on python2
(On python3 use parse_qs from urllib.parse)

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

-compat: remove forgotten unused compat_urlparse_qs import
-Small code optimization in compat
-compat: add aditional check in _parse_qsl

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

-PEP 8 code style updates
-YouTubeVideoUrl: try fix some flake8 test fails

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...

Fix some bugs and crashes

Thanks RAED
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,848
Update ...
last version with latest update ...

YouTubeVideoUrl: rewrite extractor, thx remitamine
 
Top