Page 21 of 30

Re: YouTube

PostPosted: Mon Aug 24, 2015 10:12 am
by stefana888
Music videos are protected and not shown.

Re: YouTube

PostPosted: Thu Aug 27, 2015 2:18 pm
by aloha
Hi,
Unfortunately for me it doesn't work. Even the web resources shown above on the thread. It's showing the web resource but when trying to open "server not available" on a client (TV, tablet, phone). When I'm opening the folder on a Windows machine it's showing folders but when trying to get a file list it's empty.
Here's my ffmpeg info:
ffmpeg version N-74546-g5176443 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 58.100 / 56. 58.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 36.100 / 5. 36.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.10

In attachment the detailed log

Re: YouTube

PostPosted: Thu Aug 27, 2015 4:54 pm
by stefana888
Provide relevant info/log.

Re: YouTube

PostPosted: Fri Aug 28, 2015 4:54 pm
by aloha
Hi,
OK, here's the only thing I get in the log in debug mode when starting serviio server and trying to access online stream on client as web resources.
(see attachment)

Re: YouTube

PostPosted: Fri Aug 28, 2015 8:11 pm
by stefana888
You should post log on refresh resource Youtube. That log has nothing to do with the plugin.

Re: YouTube

PostPosted: Sat Aug 29, 2015 11:28 am
by aloha
Here what I get

Re: YouTube

PostPosted: Sat Aug 29, 2015 12:36 pm
by stefana888
aloha wrote:Here what I get
Not much... Look for errors. (Private videos is a known bug that breks the plugin.)

Re: YouTube

PostPosted: Wed Sep 09, 2015 3:47 pm
by aloha
OK. As for the log no errors at all.... but it's not still working.

Re: YouTube

PostPosted: Sat Sep 12, 2015 1:07 am
by Combat Jack
Whenever I show the videos by Youtube channel username the very most recent video never shows on the list. Is there an error in how the videos are counted and then listed?

Edit: didn't notice there was a newer version of the plugin since the last time I updated it. Looks like all fixed

Re: YouTube

PostPosted: Tue Oct 13, 2015 6:42 pm
by Gregorius
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"

:(

Re: YouTube

PostPosted: Wed Oct 14, 2015 12:56 pm
by Gregorius
Error during feed reading. Message: URL 'https://www.googleapis.com/youtube/v3/playlistItems?part=contentDetails%2CId&maxResults=50&playlistId=PLwhateverid' returned status code '403'

Re: YouTube

PostPosted: Sat Oct 17, 2015 1:13 pm
by gene
Hello,
This plugin is unique, but for me it shows no more than 50 videos in playlist.
Max number of feeds is set to "Unlimited"
For example:
https://www.youtube.com/playlist?list=P ... rZ4tgSDgP0
Thanks in advance!

Re: YouTube

PostPosted: Sat Oct 17, 2015 8:21 pm
by NIckelino
Good evening,

I'm trying to get my own Youtube-Playlist into Serviio to access it in Kodi.
That's what i've done:
-I installed Serviio on Ubuntu-Server
-Copied the plugin file Youtube.groovy into /serviio/plugins/
-Added the online source https://www.googleapis.com/youtube/v3/playlistItems?playlistId=e0k0B3Id1lDps0Tt as "Web Resource"
-After adding the source I restarted the serviio service

Now I want to access it with Kodi via UPNP but I cannot see any item in my "Online" category.

Any suggestions?

Greetings

Nicke

Re: YouTube

PostPosted: Sat Oct 17, 2015 8:22 pm
by jhb50
This plugin is unique, but for me it shows no more than 50 videos in playlist.

That is the limit imposed by the YouTube API.
The plug-in would need to be enhanced to allow a "Start#" parameter to allow you to get the next 50 with a second Serviio request.

Re: YouTube

PostPosted: Sat Oct 17, 2015 8:42 pm
by jhb50
Any suggestions?

Private videos are not supported because the plugin cannot log you on to YouTube to access them.
I get PLe0k0B3Id1lDps0Tt "does not exist"

Re: YouTube

PostPosted: Sat Oct 17, 2015 11:21 pm
by NIckelino
too bad...... :cry:

hope the function will come :-)

Re: YouTube

PostPosted: Sun Oct 18, 2015 6:38 am
by gene
jhb50 wrote:
This plugin is unique, but for me it shows no more than 50 videos in playlist.

That is the limit imposed by the YouTube API.
The plug-in would need to be enhanced to allow a "Start#" parameter to allow you to get the next 50 with a second Serviio request.

How I can do it? Where to read?

Re: YouTube

PostPosted: Sun Oct 18, 2015 7:21 am
by stefana888
With the patched plugin version attached it is possible to set the maximum number of items to retrieve, 'MAX_ITEMS', in the code (>50). We don't want to implement Serviio's console "unlimited" items causing the items extraction to possibly go on forever. Errors with private videos are fixed too.

Youtube.groovy
(10.98 KiB) Downloaded 1020 times

Re: YouTube

PostPosted: Mon Dec 14, 2015 9:42 pm
by aloha
Hi,
Ok I don't know how the api plugin works for other however after digging on the net I get that info:
https://github.com/sameeri/Code-WebApis ... h-resource.
As I can't make any googleapi link to work on serviio I checked on the youtube side as serviio is making the request and I have this error. Anyway please try for exemple this playlist: https://www.googleapis.com/youtube/v3/p ... Me8Vtv5LKe ( I think that the link is correct).

Re: YouTube

PostPosted: Sat Dec 19, 2015 10:22 pm
by aloha
PS. OK I had a small quick tour on the V3 api specs and I now know that it will a pain in the.... for any easy streaming as before :(