FAQ  •  Register  •  Login

YouTube

<<

Pasha2508

Serviio newbie

Posts: 1

Joined: Wed Mar 07, 2018 10:17 am

Post Wed Mar 07, 2018 10:28 am

Re: YouTube

https://github.com/Pasha2508/serviio-youtube-plugin
fix bug
If the list is less than or equal to 10 videos, the plugin will crash:
Caught: java.lang.NullPointerException: Can not get property 'thumb' is a null object
+
exclude "Private video"
<<

14Super60pa

Serviio newbie

Posts: 2

Joined: Sun Mar 18, 2018 8:24 pm

Post Sun Mar 18, 2018 9:01 pm

Re: YouTube

To use Serviio TubeFox anymore, you have to add "?disable_polymer=1" at the end of the YouTube url. For example instead of just "https://www.youtube.com/user/OsFirstTimer/videos", it now has to be "https://www.youtube.com/user/OsFirstTimer/videos?disable_polymer=1". Also, the add-on works only in older builds of FireFox (works in 47, and maybe up to 56).
Hope this helps
<<

Meskis

Serviio newbie

Posts: 1

Joined: Sun Apr 08, 2018 4:08 pm

Post Sun Apr 08, 2018 4:13 pm

Re: YouTube

Hi,
Can someone help me to run YouTube channel on Serviio. I read forum (viewtopic.php?f=20&t=3276) and used examples from it, but still cannot get YouTube channel working.

I read almost all 27 pages of the forum searching for working "Source URL" examples, and I got some working, but some still not work.

I using Serviio 1.9.1
YouTube plugin from (result almost the same):
https://github.com/Pasha2508/serviio-youtube-plugin
and
download/file.php?id=5204

Working examples for me are:
(Web Resources)

https://www.googleapis.com/youtube/v3/c ... oricDepths
https://www.googleapis.com/youtube/v3/v ... ostPopular


But I cannot get working YouTube playlist, channel or single video clip

I using:

For PLAYLIST
"Source URL"
https://www.googleapis.com/youtube/v3/p ... 0zT-0PlASz

"Browser address"
https://www.youtube.com/playlist?list=P ... 0zT-0PlASz

Error
====================================
2018-04-08 16:20:54,968 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.googleapis.com/youtube/v3/p ... 0zT-0PlASz, will try again soon: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:79)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:187)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:207)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:194)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:100)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:56)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at YouTube.extractItems(youtube.groovy:54)
at org.serviio.library.online.WebResourceUrlExtractor.extractItems(WebResourceUrlExtractor.java:72)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:34)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:31)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
====================================

For CHANEL
"Source URL"
https://www.googleapis.com/youtube/v3/c ... Mo-BYoJdEg

"Browser address"
https://www.youtube.com/channel/UCE80FO ... Mo-BYoJdEg

Error
====================================
2018-04-08 18:02:13,680 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.googleapis.com/youtube/v3/c ... Mo-BYoJdEg, will try again soon: Unexpected error while invoking plugin (YouTube): Cannot get property 'thumb' on null object
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (YouTube): Cannot get property 'thumb' on null object
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:79)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:187)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:207)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:194)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:100)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: Cannot get property 'thumb' on null object
at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)
at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:156)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:208)
at org.codehaus.groovy.runtime.dgm$306.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoMetaMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:308)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at YouTube.extractItems(Youtube.groovy:64)
at org.serviio.library.online.WebResourceUrlExtractor.extractItems(WebResourceUrlExtractor.java:72)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:34)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:31)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
====================================

or
"Source URL"
https://www.googleapis.com/youtube/v3/c ... dEg/videos

"Browser address"
https://www.youtube.com/channel/UCE80FO ... dEg/videos

Error
====================================
2018-04-08 18:13:17,140 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.googleapis.com/youtube/v3/c ... dEg/videos, will try again soon: Unexpected error while invoking plugin (YouTube): Cannot get property 'contentDetails' on null object
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (YouTube): Cannot get property 'contentDetails' on null object
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:79)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:187)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:207)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:194)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:100)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: Cannot get property 'contentDetails' on null object
at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)
at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:156)
at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at YouTube.extractItems(Youtube.groovy:45)
at org.serviio.library.online.WebResourceUrlExtractor.extractItems(WebResourceUrlExtractor.java:72)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:34)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:31)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
====================================

For SINGLE VIDEO
"Source URL"
https://www.googleapis.com/youtube/v3/v ... Y8E6N5Nzec

"Browser address"
https://www.youtube.com/watch?v=CY8E6N5Nzec

Error
====================================
2018-04-08 18:23:41,713 WARN [FeedUpdaterWorker] Failed to retrieve online item information for https://r6---sn-uxv-8ovl.googlevideo.co ... 8.62.3.203. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveMetadata(FeedUpdaterWorker.java:321)
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveTechnicalMetadata(FeedUpdaterWorker.java:246)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:481)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:100)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:138)
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveMetadata(FeedUpdaterWorker.java:300)
====================================

I read about similar problem, the solution was to update FFmpeg, I downloaded it from https://ffmpeg.zeranoe.com/builds/, but anyway getting this error.

I tried unsuccessfully with :
ffmpeg-20180406-9703b7d-win64-static
ffmpeg-3.4.2-win64-static

Maybe I doing something wrong, please point me in the right direction, thank you. (All Online sources are as Web Resources)

P.S.

I cannot get FoxTube working, even on XP virtual machine with Firefox 47. No yelow serviio icon any more.
<<

krzychk2

Serviio newbie

Posts: 1

Joined: Fri Apr 20, 2018 5:46 am

Post Fri Apr 20, 2018 5:54 am

Re: YouTube

Meskis wrote:
Error
====================================
2018-04-08 18:23:41,713 WARN [FeedUpdaterWorker] Failed to retrieve online item information for https://r6---sn-uxv-8ovl.googlevideo.co ... 8.62.3.203. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveMetadata(FeedUpdaterWorker.java:321)
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveTechnicalMetadata(FeedUpdaterWorker.java:246)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:481)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:100)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:138)
at org.serviio.library.online.metadata.FeedUpdaterWorker.retrieveMetadata(FeedUpdaterWorker.java:300)
====================================


I have the similar problem with some content and this is not the problem of ffmpgeg or serviio.

Opening this link in browser gives 403:

https://r6---sn-uxv-8ovl.googlevideo.co ... 8.62.3.203

So the content is extra secured by google.

IDEA -> I think the better idea is to log the http response code instade of
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
<<

zZ DunK Zz

Serviio newbie

Posts: 2

Joined: Fri Dec 21, 2018 12:23 am

Post Fri Dec 21, 2018 12:31 am

Re: YouTube

If this plugin is still supported can someone help me.

My lg tv is unable to rewind. The seek bar goes back but it just freezes on the screen while the current video time increases and doesn't resume until it gets back to the original time.

There is no problem when it is fast forwarded

I am using the lgtv render with transcoding off and subtitles off.

I believe its the plugin because it is only when watching youtube extracted videos local videos is fine.

Seems to only do it with the tv
<<

dyuka

Serviio newbie

Posts: 5

Joined: Mon Apr 29, 2019 8:59 am

Post Fri May 17, 2019 1:14 pm

Re: YouTube

Hello!
Can anyone to help and solve the problem? Plugin says that there are no items to play :(
viewtopic.php?f=21&t=25385
-----------------------------------------------
Serviio 1.10.1 (Pro), Synology DS1515+
<<

sheikh73

Streaming enthusiast

Posts: 46

Joined: Sun May 27, 2012 3:17 am

Post Fri Jun 07, 2019 4:23 pm

Re: YouTube

For me Youtube plugin was the only reason running serviio on my computer and it stopped working couple of months ago, I am not a developer so i dont know how to fix it and I dont see anyone here is willing to fix this plugin, so there is no reason to keep serviio running.

I want to thank and appreciate Zip and other developers for creating this solid media server. I've used serviio I think for over 7 years and it always worked well. Thanks guys I hope you guys will continue the development and Ill check back if things are working and Ill install it again. Bye for now..
<<

steve757

Serviio newbie

Posts: 7

Joined: Wed Dec 26, 2012 1:45 am

Post Sun Jun 09, 2019 3:51 pm

Re: YouTube

I have been complaining about this for years... are there any plugins that work AT ALL anymore?
Serviio still seems to be the best server for streaming video, but now with Roku and Chromecast, it's becoming a dinosaur, and that's really sad.
And now they want their paying members to pay again, for the new version! Why?
<<

DVD Listing

Serviio newbie

Posts: 11

Joined: Sat Dec 10, 2016 1:59 pm

Post Mon Jun 17, 2019 8:15 pm

Re: YouTube

I have used Serviio for a long time.
As a registered user, I love how everything I wish to watch is in one central application.
And I have the ability to control who watches what in my house.

YouTube channels are one of my sources that Serviio controls.
But that access has died months ago and the plugin has not been updated.

Most of the TV or Blu-Ray players at home have apps that access YouTube and also can access my various multimedia folders.
So I really don't need Serviio. But centralized control is what I desire. That is what I want from Serviio.

But before I purchase the upgrade to version 2.0, can somebody tell me if the plugin shall be updated?
<<

dyuka

Serviio newbie

Posts: 5

Joined: Mon Apr 29, 2019 8:59 am

Post Thu Jun 20, 2019 3:12 pm

Re: YouTube

I tried 2.0 in evaluation mode (of the Pro edition) 2 weeks ago. Youtube-plugin not working. So I reinstalled 1.10.1 as a registered user...
let's wait :)
-----------------------------------------------
Serviio 1.10.1 (Pro), Synology DS1515+
<<

DVD Listing

Serviio newbie

Posts: 11

Joined: Sat Dec 10, 2016 1:59 pm

Post Mon Jun 24, 2019 1:11 pm

Re: YouTube

Dyuka.

Did the downgrade solve the YouTube issue?
If yes, could you post your YouTube.groovy plugin so we may try that version?

The reason that I ask is that YouTube stopped working for me from 1.10, so I think my downgrading will not work.
Maybe your version of the plugin you currently use is the most compatible with the current YouTube security configuration.
From there we would have the least amount of errors to fix (or try to fix).

Thanks in Advance.
<<

dyuka

Serviio newbie

Posts: 5

Joined: Mon Apr 29, 2019 8:59 am

Post Fri Jun 28, 2019 8:20 am

Re: YouTube

No, Youtube.groovy does not work either 1.10.1 or 2.0
I am using the same version of Youtube.groovy from this topic
-----------------------------------------------
Serviio 1.10.1 (Pro), Synology DS1515+
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 04, 2019 9:30 pm

Re: YouTube

Updated the plugin on the original post. Give that a try.
<<

DVD Listing

Serviio newbie

Posts: 11

Joined: Sat Dec 10, 2016 1:59 pm

Post Sun Jul 14, 2019 3:15 am

Re: YouTube

Thanks Zip.

I downloaded the new YouTube plugin and now I am seeing videos.

You have justified the faith I had in Serviio when I purchased the V2.0 a month ago.

I really like the new USER option in version 2.0.
It allows me to finetune access to the various multimedia sources i have.
<<

dyuka

Serviio newbie

Posts: 5

Joined: Mon Apr 29, 2019 8:59 am

Post Wed Jul 17, 2019 10:22 am

Re: YouTube

zip wrote:Updated the plugin on the original post. Give that a try.


Thanks! Thanks!
It's really working again
-----------------------------------------------
Serviio 1.10.1 (Pro), Synology DS1515+
<<

MarkRoy

Serviio newbie

Posts: 6

Joined: Sun Apr 13, 2014 7:37 pm

Post Sun Aug 18, 2019 1:54 pm

Re: YouTube

Been a Serviio user for five years now. Use a combo of the MediaBrowser and ServiiGo for access. Browser and ServiiDroid for management.
35 years as a software developer, project/product manager and marketing exec. So I have no issues with the software or technology.
Upgraded to 2.0 as soon as it was available with no problems or regrets.
Using the youtube.groovy and the info in this post I've created a variety of Youtube Online links over the years. Some use Channel ID's, UserName ID's and Playlist ID's.
Most work just fine. However, there are inconsistent results. Of the following four Source URL's.. two work and two don't:

https://www.googleapis.com/youtube/v3/c ... fEJKuIcrSw
https://www.googleapis.com/youtube/v3/c ... YqUPErLusg
https://www.googleapis.com/youtube/v3/c ... jWb8lIy9Xw
https://www.googleapis.com/youtube/v3/c ... uPQ2mimNWw

Prior to the V2.0 upgrade, implementing the last Source URL would cause Serviio 1.x to delete all the online content!?!?
All other settings for these are the same in Serviio.
But the inconsistent link and data retrieval issue remains.. because....???

I note when I look at an Online Backup .SOB there are <userIds> sections for each link.
Do these refer to the Serviio users? Or can these also be used to pass User Login/Password info to Youtube to authorize the viewing of the content?
Not that that seems to matter for most of my Online links.. just wondering?
<<

botor

Serviio newbie

Posts: 1

Joined: Thu Sep 26, 2019 3:55 pm

Post Thu Sep 26, 2019 4:11 pm

Re: YouTube

Hi!
Honestly' I tried to make a life for the youtube plugin for one and half day!
I tried everything, the all plugin all example all things...
So, before the owner want the USD 25 for this....***
Firstly fix the stupid youtube and vimeo and other errors, because on this forum the 99% of the links is not working, inpossible to found any real working solution, or any step by step guide for a youtube solutions...
I'm so dissapointed about this program, all youtube resource or feed dont working or just missing the whole playlist and other videos also.
The normal videos , music, pictures working fine...
So if they want my USD 25, first fix it the most important plugin errors.
Thanks, and sorry but i wasted almost 2 days from my life becaus i belived that it is a realy good software...

... You need to update the entire plugin section and posts because it is a big mess....
<<

atc98092

User avatar

DLNA master

Posts: 3390

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Sep 26, 2019 5:23 pm

Re: YouTube

fix it the most important plugin errors


Plug-ins are in no way the primary focus of Serviio. It just happens to be a functionality the developer added to make it better. While he personally is responsible for the YouTube and Vimeo plug-ins, most other plug-ins are created and maintained by someone else. He has no control over them. Also, despite their best efforts, sometimes the online sites change something that breaks the plug-in, and the developer doesn't know about it unless someone lets them know.

It appears the Vimeo plug-in was broken in 2014, and since it's been so long my guess is Vimeo did something to block things like a plug-in, and there's nothing that can be done. For YouTube, he last updated it a few months ago because of something Google did to the access. It sounds like it's happened again. Perhaps if you provide him some information about exactly what is or is not happening, he can look at it.

By the way, paying $25 for the Serviio Pro license makes zero difference with plug-in support. It does add some great features, but if all you want to do is use plug-ins, the free version has no restrictions on that function. So instead of ranting, how about some valid troubleshooting information?
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku 4, Ultra and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
Previous

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 25 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.