YouTube Plugin by Taapat [*deb]

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,877
YouTube Plugin by Taapat

d65e212c-3188-11e5-9d49-8bd584f9a01b.jpg

e11bd280-3188-11e5-8496-36fd6f455e88.jpg

e5d5bf70-3188-11e5-80e6-0be037fae1a8.jpg

dc063628-3188-11e5-991c-8965ca2d7277.jpg
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,877
Youtube byTaapat Mod By RAED for DreamOS
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,877
Youtube byTaapat Mod By RAED for DreamOS

New update depend on last commit

How to install:
-after download from attach extract zip file and send deb to /tmp
-then give these command on telnet

apt-get update
dpkg -i --force-overwrite /tmp/*.deb
apt-get install --force-yes -f -y
killall enigma2 -9
 

WaRp

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

-Add possibility of read API keys from file
(You can save file YouTube.key in folder /etc/enigma2 and use for own API keys)
-YouTubeUi: add some aditional checks on YouTube.key reading


Now from this version you can Add API key manually if the plugin does't work ..

How To do it
-From this video you can learn how to create your own key
-Download youtube.zip from attach and extract it then send it to /etc/enigma
-Add your new api key in file youtube.py in (API_KEY=)
-Save file and do restart enigma2
 

WaRp

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

Thanks RAED
 

WaRp

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

-YouTubeApi: add function GetKey
-YouTubeUi: update imports and autentification
-YouTubeUi: update key reading from config file

Thanks RAED
 

WaRp

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

OAuth: fix GSOD in get_new_token if response status is not OK
YouTubeVideoUrl: Fix age-gated videos support without login, thx dstftw
YouTubeVideoUrl: Improve extraction in 429 error conditions, thx dstftw
YouTubeVideoUrl: Improve age-gated videos extraction in 429 error conditions, thx dstftw
YouTubeVideoUrl: Remove outdated code, thx dstftw (Additional get_video_info requests don't seem to provide any extra itags any longer.)
OAuth: use try except for all HTTPSConnection functions (Fix GSOD on response problems.) Thx for report grzech14

Thanks RAED
 

WaRp

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

-Follow YouTube branding guidelines
*Use YouTube logo for displayed YouTube content.
*Thefore in YouTubeMain screen move text widget content to title, to shown YouTube logo instead of text.
*Skiners, please use YouTube logo in skin instead of text widget to follow YouTube branding guidelines.
-Also changes images that are similar with YouTube icon.
-Regenerate and update language files after latest changes

Thanks RAED
 

WaRp

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

YouTubeMain: remove widget text from default screens
-YouTubeVideoUrl: fix DRM videos detection, thx dstftw
-Remove unused in jsinterp and swfinterp
-Tabs to spaces in jsinterp and swfinterp
 

WaRp

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

-YouTubeVideoUrl: remove unused swf player url extraction
-YouTubeVideoUrl: group some variables
-YouTubeUi: remove quotes from api keys
(If the user accidentally specified them in YouTube.key file)

Thanks RAED
 

WaRp

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

-YouTubeVideoUrl: remove Shockwave Flash player support
(I hope there are no more clips left on YouTube that contain usable links for enigma players only in the Shockwave Flash player.)
-jsinterp: Fix function calls without arguments

Thanks RAED
 

WaRp

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

RAED wrote:
-I have create new patch to Add new feature and build unofficial version ..
-As screen show press menu and choose VirtualKeyboard as (Image VirtualKeyboard) then save it and Try to search ...

Thanks RAED
 

WaRp

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

-Remove Favorites from private feeds
(I think that youtube has not supported the special Favorites palylist for a long time. It only mislead users)
-Update language files after remove Favorites
-YouTubeApi: remove unused after remove Favorites
-YouTubeVideoUrl: Use redirected video id if any, thx dstftw
-YouTubeVideoUrl: remove unused variables in functions
-YouTubeVideoUrl: remove forgotten encoding in _parse_qsl

Thanks RAED
 

oys

Registered
Messages
557
Update ... 04.05.2020

-YouTubeVideoUrl: Improve player id extraction, thx dstftw
-Try to keep in sync code with youtube-dl
 

WaRp

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

-YouTubeVideoUrl: Improve signature cipher extraction

Thanks RAED
 

WaRp

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

Edit last version with latest update ...

-[2to3] cleanup Code for Python3
-Add a config option to select player for YouTube media playback
(This allows choose default media player, exteplayer or gstplayer if a plugin ServiceApp is installed)

Thanks RAED
 

oys

Registered
Messages
557
Edit last version with latest updates ...
27.06.2020​

-Add a config option to select player for YouTube media playback
(This allows choose default media player, exteplayer or gstplayer if a plugin ServiceApp is installed)
-2to3 some code changes for Python3
-Change httplib to urllib2
 
Last edited:

WaRp

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

Edit last version with latest updates ...

-Introduce the option to remember the last position
(Remembers the last 20 played video positions when exiting, and offers to continue from the exit position the next time when the video is played again.)
-Add download size info in YouTubeDownloadList screen
(A skin update is required to display this parameter. See an example in a plugin screen.)
-Show recent videos from all subscriptions
(Previously, recent videos were shown only from subscriptions in search results quantity. That worked much faster however misleads users.)
(I hope for a lot of users with subscriptions, this will not work too slowly.)
-YouTubeUi: not set PageToken in all recent subscriptions
-YouTubeUi: use bytes for url in downloadPage
(This fix thumbnails download on python 3)
-OAuth use data as bytes
(This fix urlopen on python 3)
-YouTubeSearch: initialize ConfigListScreen with an empty list
(To fix GSOD on openATV 6.5 with python3)
-Regenerate translations after last changes
-Fix plural forms in russian translation, thx Durimar

Thanks RAED
 

oys

Registered
Messages
557
Update ...31.07.2020

● YouTubeVideoUrl: fix sigfunc name extraction, thx dstftw
● YouTubeUi: also shows video id at extract error
(On error users are able to take a screenshot but are unable to specify the video in which such error occurs.)
● YouTubeVideoUrl: try fix age gate detection, thx random-nick
● YouTubeUi: fix error string format in getVideoUrl
● YouTubeUi: fix Russian search language display in settings
(Before that, the country was displayed, not the language.)
● YouTubeUi: get search region and language from enigma
(Use the search region and language from the enigma so you don't have to translate and maintain them.
This allows you to use all countries and languages for which a particular image is available.)
● Update language files after language removal
 

WaRp

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

-YouTubeUi: add workoround if CountryCodes not exist
(This fix GSOD on BH where CountryCodes not exist in Tools, Thx for report матросКТОФ)
-YouTubeUi: get default language and country from enigma
(This allows you to automatically set the search language and region from the enigma settings and you do not need to specify it manually.)
 
Top