[E² Plugin] YouTube

josagi

Super VIP
Messages
3,052
YouTube Plugin by Taapat

Those who are looking at the receiver youtube, you can try to feed of the first version of my test a plug youtube

Do not beguiled, youtube instead youtubeplayer.
I started doing it by the fact that unfortunately MyTube license does not allow to use it on other receivers except drimboksa.
I did not finished yet, and so far is only the basic functions. I myself do not use actively youtube encouraged by the comments and suggestions, as well as maybe necessary to correct the translation.
Plugin works completely with youtube api v3, by the authentication is now does not work as before. Before that you have given plugin, for example for youtube, your login and password. But the plug-so gets full control over all your akountami and dannimy on google. In fact now you do not have to give your details and allow the plugin to use only the necessary service.
If the settings (button menu) including authentication, then for authentication need to be in your Web browser under your akountom open the homepage, enter the code which will show a plug-and allow plugins to use your akount on youtube. By the turn only if you can do it. After authentication, you can use your own fidi and subscriptions.

23.03.2016

- YouTubeUi: try fix video download - Replace / in download file name
- Create id.po - Add Indonesian translation.
- Update et.po
- Remove comments in German translation
- German Translation
- Fix some PEP8 style guide errors in plugin.py
THX @Taapat
 

fankoosh

Super Moderator
Messages
2,139


*new updates 25062016

-fix youtube vevo

Code:
-Relax JS function regex (Closes #9863) 
-Merge pull request #15 from Dima73/pull 
-add missing import

thanx @Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git315+d5519e0-r0.0
29.04.2017

- YouTubeVideoUrl: Recognize new locale-based player URLs, thx yan12125 - Based on commit: rg3/youtube-dl@e31fed9
thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git316+2066e3a-r0.0
27.05.2017

- YouTubeVideoUrl: Fix identitation
- YouTubeVideoUrl: Fix DASH manifest signature decryption - Modernize, thx Protuhj & dstftw
- [jsinterp] Add support for quoted names and indexers - Fix typo and cleanup regexes, thx dstftw
thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git327+896dacc-r0.0
04.08.2017

- Remove param from SuggestionsQueryThread keywords
- Remove error callback from SuggestionsQueryThread - Print error in SuggestionsQueryThread, not use for this messages.
- YouTubeSearch: remove class GoogleSuggestions - Move getSuggestions to class GoogleSuggestionsConfigText
- Always assign the searchRegion and searchLanguage in GoogleSuggestionsConfigText initn
Why to call twice config value? Better assign a blank value.
- Small typo change in YouTubeVirtualKeyBoard
- Some PEP8 style fixes in YouTubeSearch - Remove spaces around the = sign when used to indicate a keyword argument or a default parameter value.
- Remove not used keywords in GoogleSuggestionsConfigText
- Add YouTubeVirtualKeyBoard - This allow show suggestions in VirtualKeyBoard header
- Remove comments in Hungary translation
- Add Hungary po
- YouTubeVideoUrl: update some formats
- YouTubeVideoUrl: set second url_map_str as None
- Add aditional stream videos formats - This should fix for example 1080p playback.
- YouTubeVideoUrl: parse player_url if format URLs are encrypted, thx yan12125

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git341+67fd54a-r0.0
18.08.2017

- YouTubeVirtualKeyBoard: fix GSOD on exit with ok
Call getSuggestions in okClicked only if text is changed.Thanks again Ingo for report!
- YouTubeSearch: fix GSOD if history is empty - Thx for report Ingo
- YouTubeSearch: fix entry delete in search history
I forgot change config.plugins.YouTube.searchHistory to config.plugins.YouTube.searchHistoryDict in menuCallback
- Increase the search history up to 40 entries.
- Introduce a difference search history for each search list
Unfortunately, after the update, the old search history will be lost.
I do not think it is worth keep the history transfer to the new config entries.
- YouTubeVideoUrl: move Dash MP4 format to the end of the priority list
If the selected resolution is less than 1920x1080.
This should fix the playback to the latest plugin version on the images wthout suburi support.
thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git347+8dddc5a-r0.0
05.09.2017

* YouTubeUi: use exception for all searchResponse results
I assume that if there is any internet problem, the searchResponse may not return correct information.
* Fix latvian translation
* Regenerate translations after config changes
* Add choice Play previous in video ends config - By user request
* Change also icon.png to new YouTube branding style
* Change YouTube icons to new branding style

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git354+920d86c-r0.0

- Update language files after adding Greece in settings
- Regenerate YouTube.pot after adding Greece in settings
- Typo: change greek to Greece - We use country instead of language in our settings
- Add greek in search region and search language
thx @ Taapat
 

WaRp

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



  • YouTubeSearch: fix suggestions on OpenPLi develop
  • YouTubeVideoUrl: fix extraction
  • YouTubeVirtualKeyBoard: use also "prompt" in updateSuggestions
  • Added French language translation
  • Added Slovakian language translation
  • Added Italian language translation
  • YouTubeVirtualKeyBoard: try fix GSOD if youtube search is not available
  • Added Hungarian language translation
  • Added Bulgarian language trasnlations
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
Youtube_h1+git370+8b6ccec-r0.0
20180929

- YouTubeVideoUrl: use DASH video on all resolution (fix #42)
It looks like youtube is no longer using mp4 video also in resolutions less than 1920x1080 in many clips. I hope there are no active images that does not support set suburi via service reference path string
- YouTubeSearch: fix suggestions on OpenPLi develop - Add aditional function processSelect witch replace okClicked on OpenPLi develop
- YouTubeVideoUrl: fix extraction, thx dstftw (fix #40)
- YouTubeVirtualKeyBoard: use also "prompt" in updateSuggestions
- FR translation 2018-06-25 (#38) - French translation for YouTube plugin.
- Create + Update sk.po (#37) - Slovakian translation for YouTube plugin.
- Create it.po (#36) - Italian translation for YouTube plugin.
- YouTubeVirtualKeyBoard: try fix GSOD if youtube search is not available - This is try to fix #35
I have not able to repeat this, but it seems that if youtube search in the web is not available, then the suggestions are delayed and updateSuggestions are called after closing the YouTubeVirtualKeyBoard window. I hope this could fix this error.
- Update hu.po (#34) - Hungarian translation for YouTube plugin.
- Create bg.po - Bulgarian translation for YouTube plugin.
- YouTubeSearch: intruduce HelpWindow move
- YouTubeSearch: remove functions showHelpWindow and hideHelpWindow
help_window.instance always exists, so no need check for this to hide or show help_window.
Remove functions with this check and use help_window.instance.hide() or help_window.instance.show() instead of these functions.
- YouTubeSearch: use Exception for HTTPConnection exceptions. Fix #32
- YouTubeVideoUrl: try fix live streams extraction
- YouTubeVideoUrl: add 300 and 301 HLS format

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git372+3d57ef0-r0.0
07.11.2018

- ">" type="application/x-shockwave-flash" width="425" height="350">
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1 + git376 +c8077fb r0.0
19.11.2018

- [translation] Portuguese translation for Youtube enigma2 plugin - update
- Estonian update (#44)
- Update language files
- Implement downloaded file merge.
Use FFmpeg to merge downloaded DASH video and audio files.
By default disabled to not install FFmpeg without reason, who takes up a lot of space.
When change settings it is suggested to install or remove FFmpeg.

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1 + git377 +c8077fb r0.0
22.11.2018

- translated new options (#47)

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1+git379+3569d5f-r0.0

* GoogleSuggestionsConfigText: remove veriable suggestionsThreadRunning
Use variable suggestionsThread for thread running check.
* GoogleSuggestionsConfigText: some sanity fixes in getGoogleSuggestions
* GoogleSuggestionsConfigText: always get a suggestion for the last text
Also, if the text is changed when the suggestion thread running.
* Revert "GoogleSuggestionsConfigText: fix thread status on exceptions"
* GoogleSuggestionsConfigText: use quote for suggestion text
Accidentally removed on threading code changes.
* GoogleSuggestionsConfigText: fix thread status on exceptions
* Fix threading in GoogleSuggestionsConfigText
Looks like so far suggestions not obtained in independent thread and prevent text input if the internet connection is slow
* Extract live HLS URL from player response, thx dstftw
Tis fix live stream extraction.

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1+git387+df32af0-r0.0

* YouTubeVideoUrl: extend JS player signature function name regexes

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1+git389+5834a0c-r0.0

- PEP8 fixes: remove spaces for keyword arguments in functions - No code changes.
- YouTubeVideoUrl: add vp9 4k formats
Now after these changes e2iplayer/exteplayer3@c5fec50 using exteplayer can play 4k content with vp9 codec on official openpli images.
Thefore add vp9 4k formats.
- YouTubeVideoUrl: small optimization in url definition

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube h1+git395+8027203-r0.0

- YouTubeUi: use singleShot in timers
- YouTubeUi: use timer to split ePicLoad instance deletion, thx athoik
* Try fix segmentation fault on osmio4k.
- Update id.po - Update Indoensian words (#50 & #51)

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git396+ec4d8c1-r0.0

-Update hungarian translation

thx @ Taapat
 

WaRp

(∩`-´)⊃━☆゚.*・。゚
Staff member
Administrator
Messages
29,486
youtube_h1+git397+d9f6d8c-r0.0

-slove crash when there is no internet access

thx @ Taapat
 
Top