Skip to main content
Topic: foo_youtube (Read 203371 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_youtube

Reply #1100
With contextmenu_manager::init_context_ex you also specify the caller GUID that would be passed then as p_caller argument in contextmenu_item_node methods. Predefined callers can be found in contextmenu_item class declaration.

Method contextmenu_manager::init_context(handle_list) passes contextmenu_item::caller_undefined (null GUID) as p_caller. Current implementation of Copy nodes in foo_youtube ignores unknown callers. That's why these nodes do not appear. Such check does not seem to make sense in this case so I will probably remove it in next update.

@arch21
Ok, thank you.

Re: foo_youtube

Reply #1101
foobar2000 can't load channel and playlist, I don't remember when but I believe it could do it.
Console
Spoiler (click to show/hide)
Spoiler (click to show/hide)

Youtube source report
Spoiler (click to show/hide)

I also try with fresh portable but it is fine. Something wrong with my installed foobar2000.  Help me to find the cause of this issue. thanks.


I see unnamed legacy decoders come with foo_youtube 3.1. What is this?

Re: foo_youtube

Reply #1102
Okay, I found it, issue comes from latest External Tags components (1.0.30), by disabling the writer, I can load channel or playlist.
@Case could you check this? foo_youtube load channel or playlist works well with previous version (1.0.29)

Re: foo_youtube

Reply #1103
Fixed.

Re: foo_youtube

Reply #1104
It is working fine now to load channel or playlist. Thanks.

Re: foo_youtube

Reply #1105
I see unnamed legacy decoders come with foo_youtube 3.1. What is this?
Thank you for noticing. This should be fixed in latest beta.

It is a "redirection" decoder (input_entry::flag_redirect) that catches Youtube tracks not created by the component (i.e. not having "fy+https" URL scheme). If component is totally sure they are Youtube video URLs, it redirects them to "Youtube Source (Audio)" decoder.

Re: foo_youtube

Reply #1106
Hi, I noticed that with some youtube-dl videos, even though I've tried several playback quality options, I still get an error stating that no streams matched quality settings. Example. https://www.nicovideo.jp/watch/sm11438321. This also happens on Periscope and may happen on other services as well.

Re: foo_youtube

Reply #1107
Hi, I noticed that with some youtube-dl videos, even though I've tried several playback quality options, I still get an error stating that no streams matched quality settings. Example. https://www.nicovideo.jp/watch/sm11438321. This also happens on Periscope and may happen on other services as well.
I see by using youtube-dl -F , there is no information about resolution or quality.

Re: foo_youtube

Reply #1108
Yeah, that option shows economy MP4 which is what Niconico is currently restricting non-premium users to as the only format, perhaps the component doesn't expect that?

Re: foo_youtube

Reply #1109
Well, component expected such situations (no streams info) but apparently I did not test it enough and such formats were not considered at all when selecting quality for playback.

Anyway, Niconico is the first site to me that actually requires "http_headers" field from youtube-dl to be passed to downloader. This functionality was not implemented, so it would fail anyway.

Both issues should be fixed in beta 3.

Re: foo_youtube

Reply #1110
Working now, and another site I tested that showed the same error is also working, thanks for the fix :).

Re: foo_youtube

Reply #1111
@3dyd , not sure if it's a foo_youtube bug, but I can't add a YT playlist anymore (v3.1.1)
Example link: https://www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr
Log:
Code: [Select]
Opening track for playback: "https://www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr"
foo_youtube: [warning] [fsf:meta+tech] urls mismatch: 'www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr' vs 'www.youtube.com/user/playlist'
foo_youtube: [warning] [fsf:meta] urls mismatch: 'www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr' vs 'www.youtube.com/user/playlist'
foo_youtube: [error] #31, Analysis, no video found on Youtube Channel URL
foo_youtube: #31, https://www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr
Unable to open item for playback (Unsupported format or corrupted file):
"https://www.youtube.com/playlist?list=PLCQgVrL4-LLf4UwFfaTPrL0ERsOyIDzTr"

Re: foo_youtube

Reply #1112
Hello!
How to add more than 1 000 track from youtube channel?

Re: foo_youtube

Reply #1113
Is there a place to share improved metadata parsing regular expressions? I searched this thread and couldn't find any.

The problem with the current default is it strips away the remix details because they're in parentheses.

Limo - Fluid Identity (Edit Select Remix) [SUB001]Limo - Fluid Identity

To keep the text in the parens I removed the ( from the character set under the named capture group title:

(?x)
(?:
    \s*[[【({].+?[]】)}]\s*[-–~:]?\s*
)?
(?:
    (?<artist>.+?)\s*[-–~|/:]\s+
)?
(?<title>.+?)
(?:

    \s+[~|/[【{].*
)?


Does anyone have a better regex for parsing YouTube titles?
I've compiled a list of bad titles to test against. The more the merrier!

Re: foo_youtube

Reply #1114
I only kind of got this to work.

1) When I have the local files in full screen, it says "windowed" and then "exclusive" on the top left, then there's a full screen black blip. This happens every few seconds.
2) Is there a way to turn off the info screen about the video before it starts?

Any ideas?

Re: foo_youtube

Reply #1115
If I open foobar2000, no playback, then it can load playlist. But if I play music file then try to load playlist, it won't load the playlist. foo_youtube 3.1.1, foobar2000 1.5 beta 8

Re: foo_youtube

Reply #1116
Problem with playlists should be fixed in latest beta.

How to add more than 1 000 track from youtube channel?
If you are talking about menu "File -> Youtube Source -> Load channel or playlist..." then after adding 1000 tracks it also adds a track to get next portion. Additional tracks can be fetched only using this track. I will remove 1000 tracks limitation for case when custom Youtube API key is configured.

Is there a place to share improved metadata parsing regular expressions?
There is no such place.

The problem with the current default is it strips away the remix details because they're in parentheses.
FYI, you can play with (?ifthen|else) constructions to consider only specific words in parentheses. Here is an example which includes text in parentheses only if it has "Remix)" string.

1) When I have the local files in full screen, it says "windowed" and then "exclusive" on the top left, then there's a full screen black blip. This happens every few seconds.
I was able to reproduce similar behavior when madVR renderer is used and its option "renderer -> general settings -> enable automatic fullscreen exclusive mode" is enabled. If its another option "exclusive mode -> delay switch to exclusive mode by 3 seconds" is enabled, it blinks every 3 seconds, otherwise screen remains black all the time. If this is your case, for now I can only suggest either to disable automatic fullscreen exclusive mode in madVR or not to use it in component (in context menu of preferences "Mainetance -> Third-party Binaries -> madVR" select "None").

2) Is there a way to turn off the info screen about the video before it starts?
Yes. You can remove all text in "Window -> Pattern" edit box of "Youtube Source -> Video" preferences tree.


 

Re: foo_youtube

Reply #1118
Sorry if it's already discussed but I can't make a scratch box permanently in my window. It shows "No video frame instance"

 
SimplePortal 1.0.0 RC1 © 2008-2019