Skip to main content

Topic: foo_youtube (Read 155349 times) previous topic - next topic

0 Members and 3 Guests are viewing this topic.
  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #825
Videos from my playlist on youtube used to have their "date added" in the some metadata field, which allowed for me to sort them after that (since I had it displayed in a column). Is this coming back or is it infeasible with the current architecture?
There were few changes regarding to custom metadata. Quick answer - %fy_published_at% is what you need now. A bit more longer answer - last paragraph of Back compatibility topic.

Can I somehow reset the stored metadata or re-apply the title parsing rule? The previous method of restarting foobar doesn't work anymore, most likely because of the external storage.

Edit: Found the storage in appdata/foobar2000/foo_youtube/meta.
This also can be done from foobar2000. Info reload (Properties -> Tools -> Reload info) is all that's need now when switching between metadata mapping and title parsing rule, or after editing that rule. Though if you edited metadata, then all metadata becomes to be 'user metadata' which is stored independently and takes precedence. In this case additionally need to remove it (Properties -> Tools -> Remove tags).

Is it only me who is getting "server error (403)) on 95% of all songs ?
Checked for updates "No update need: You have the latest Youtube Source Version"
Have not downloaded any "beta/alpha version" using stable with plugins download version.

1.x won't be updated. You can try 2.0 beta or wait for release. Release will be at the end of this week, if nothing new and serious will be reported.

Re: foo_youtube
Reply #826
There were few changes regarding to custom metadata. Quick answer - %fy_published_at% is what you need now. A bit more longer answer - last paragraph of Back compatibility topic.

Thanks for the heads up. I must have missed that when I read that page. Works perfectly now.

This also can be done from foobar2000. Info reload (Properties -> Tools -> Reload info) is all that's need now when switching between metadata mapping and title parsing rule, or after editing that rule. Though if you edited metadata, then all metadata becomes to be 'user metadata' which is stored independently and takes precedence. In this case additionally need to remove it (Properties -> Tools -> Remove tags).

Oh great, this is ideal and exactly what I would have suggested if it hadn't existed already. You're good on the UX part, except that I would have never looked for this to be in the properties "Tools" popup. It makes sense, though, and now that I know it exists, I'll make sure to make use of it should this somehow occur again in the future.

Thanks for the new version, which seems to be generally thought out better. The only difference so far seems to be that tracks take a little longer to load, but I haven't really investigated into why this could be happening and whether foo_youtube is to blame at all.

  • widerock
  • [*][*][*]
Re: foo_youtube
Reply #827
With foo_youtube v2.0.1
I set up my foobar to play youtube video automatically in full screen.
It works very well for youtube videos and "Local Videos' well. (I'm not sure if this is intentional or not. But, I really enjoy this local mp4 video play, now. So, pls don't remove this function.)

But, the problem is that the 'automatic full screen mode' happens for 'audio' only files. I tested with mp3 and m4a files.

I hope that this strange behavior could be solved in next version.
  • Last Edit: 01 September, 2017, 04:58:11 AM by widerock

  • omjack
  • [*]
Re: foo_youtube
Reply #828
Youtube playlist feed bug?

Not really sure if anyone else is having such problem but no one said anything so it might be just me but...

For some reason foo_youtube stopped creating playlists, trying to get one through youtube search leaves a blank window with some 'unknowns' in the source log:

Code: [Select]
13:02:32, #14, Searching, https://www.youtube.com/playlist?list=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu
13:02:32, Activity #37 [unknown] added
13:02:33, Activity #37 [unknown] removed
13:02:33, #14, Ready
13:02:33, Activity #37 destroyed (lifetime 0.858s)

and getting it through the "add location" gives out this:

Code: [Select]
13:03:18, [error] #17, Page analysis, no video found on Youtube URL
13:03:18, #17, https://www.youtube.com/playlist?list=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu
13:03:18, #17, Ready
13:03:18, #18, Retrieving feed
13:03:18, Activity #39 [unknown] added
13:03:18, Activity #39 [unknown] removed
13:03:18, #18, Ready
13:03:18, Activity #39 destroyed (lifetime 0.328s)
which creates one position on foobar playlist with the same name as the youtube playlist and the "file path" leading to
Code: [Select]
youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&limit=50&total=490

and the only way of getting it to work is to click manually multiple times through that one:

Youtube source log:
Code: [Select]
13:08:58, #19, Retrieving feed
13:08:58, Activity #40 [unknown] added
13:08:59, Activity #40 [unknown] removed
13:08:59, Activity #40 destroyed (lifetime 0.952s)
13:08:59, Activity #41 [unknown] added
13:09:00, Activity #41 [unknown] removed
13:09:00, Activity #41 destroyed (lifetime 1.201s)
13:09:02, #19, Ready
13:09:05, #20, Retrieving feed
13:09:05, Activity #42 [unknown] added
13:09:06, Activity #42 [unknown] removed
13:09:06, Activity #42 destroyed (lifetime 0.421s)
13:09:06, Activity #43 [unknown] added
13:09:07, Activity #43 [unknown] removed
13:09:07, Activity #43 destroyed (lifetime 1.186s)
13:09:08, #20, Ready
13:09:11, #21, Retrieving feed
13:09:11, Activity #44 [unknown] added
13:09:11, Activity #44 [unknown] removed
13:09:11, Activity #45 [unknown] added
13:09:11, Activity #44 destroyed (lifetime 0.500s)
13:09:13, Activity #45 [unknown] removed
13:09:13, SKIPPED: https://www.youtube.com/watch?v=lWbxwO1NNjY, private (Private video)
13:09:13, SKIPPED: https://www.youtube.com/watch?v=iUiTQvT0W_0, private (Private video)
13:09:13, SKIPPED: https://www.youtube.com/watch?v=pNBD4OFF8cc, private (Private video)
13:09:13, Activity #45 destroyed (lifetime 1.373s)
13:09:15, #21, Ready
13:09:17, #22, Retrieving feed
13:09:17, Activity #46 [unknown] added
13:09:18, Activity #46 [unknown] removed
13:09:18, Activity #47 [unknown] added
13:09:18, Activity #46 destroyed (lifetime 0.561s)
13:09:19, Activity #47 [unknown] removed
13:09:19, Activity #47 destroyed (lifetime 1.544s)
13:09:21, #22, Ready
13:09:23, #23, Retrieving feed
13:09:23, Activity #48 [unknown] added
13:09:23, Activity #48 [unknown] removed
13:09:23, Activity #49 [unknown] added
13:09:23, Activity #48 destroyed (lifetime 0.468s)
13:09:25, Activity #49 [unknown] removed
13:09:25, Activity #49 destroyed (lifetime 1.342s)
13:09:27, #23, Ready
13:09:28, #24, Retrieving feed
13:09:28, Activity #50 [unknown] added
13:09:29, Activity #50 [unknown] removed
13:09:29, Activity #50 destroyed (lifetime 0.437s)
13:09:29, Activity #51 [unknown] added
13:09:30, Activity #51 [unknown] removed
13:09:30, Activity #51 destroyed (lifetime 1.310s)
13:09:32, #24, Ready
13:09:34, #25, Retrieving feed
13:09:34, Activity #52 [unknown] added
13:09:35, Activity #52 [unknown] removed
13:09:35, Activity #53 [unknown] added
13:09:35, Activity #52 destroyed (lifetime 0.578s)
13:09:36, Activity #53 [unknown] removed
13:09:36, SKIPPED: https://www.youtube.com/watch?v=cAzU-A_LMjY, private (Private video)
13:09:36, Activity #53 destroyed (lifetime 1.124s)
13:09:37, #25, Ready
13:09:40, #26, Retrieving feed
13:09:40, Activity #54 [unknown] added
13:09:40, Activity #54 [unknown] removed
13:09:40, Activity #54 destroyed (lifetime 0.530s)
13:09:40, Activity #55 [unknown] added
13:09:42, Activity #55 [unknown] removed
13:09:42, Activity #55 destroyed (lifetime 1.622s)
13:09:43, #26, Ready
13:09:45, #27, Retrieving feed
13:09:45, Activity #56 [unknown] added
13:09:46, Activity #56 [unknown] removed
13:09:46, Activity #56 destroyed (lifetime 0.421s)
13:09:46, Activity #57 [unknown] added
13:09:47, Activity #57 [unknown] removed
13:09:47, Activity #57 destroyed (lifetime 1.404s)
13:09:49, #27, Ready
13:09:53, #28, Retrieving feed
13:09:53, Activity #58 [unknown] added
13:09:54, Activity #58 [unknown] removed
13:09:54, Activity #59 [unknown] added
13:09:54, Activity #58 destroyed (lifetime 0.577s)
13:09:55, Activity #59 [unknown] removed
13:09:55, Activity #59 destroyed (lifetime 1.029s)
13:09:56, #28, Ready

Foobar console:
Code: [Select]
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&limit=50&total=490"
13:08:58 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=2&limit=50&page=CDIQAA&total=490"
13:09:05 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=3&limit=50&page=CGQQAA&total=490"
13:09:11 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=4&limit=50&page=CJYBEAA&total=490"
13:09:17 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=5&limit=50&page=CMgBEAA&total=490"
13:09:23 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=6&limit=50&page=CPoBEAA&total=490"
13:09:28 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=7&limit=50&page=CKwCEAA&total=490"
13:09:34 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=8&limit=50&page=CN4CEAA&total=490"
13:09:39 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=9&limit=50&page=CJADEAA&total=490"
13:09:45 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500
Opening track for playback: "youtube.com?id=PL6ZLc-zZUnxlkB9t8CcpFZeV6V5I_cVgu&index=10&limit=50&page=CMIDEAA&total=490"
13:09:53 UTC+0200: Claudio Martinez - M TOP POP MUSIC VEVO 500

Not exactly sure when it stopped working correctly, I've noticed the 28th august 2.0.1 update but it didn't fix it for me.


  • omjack
  • [*]
Re: foo_youtube
Reply #829
About that thing above...

Quote
Improved feeds support

Work with the feeds now is performed in a different way. Visible change in this regard - when adding Youtube feed (i.e. channel or playlist) using menu File Add location... now will be added one track representing this feed, instead of retrieving content of the feed.

Internally the change was to make the feeds to behave like any other tracks. This will make it possible (in future) to search for feeds and to list playlists that channel consists of when it is being added (instead of retrieving videos from 'Uploads' playlist of this channel, as it is done now).

So now the question is:
Is there another way of getting the song list without clicking through it manually (which is a bit bothering when it comes to big playlists) ?

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #830
But, the problem is that the 'automatic full screen mode' happens for 'audio' only files. I tested with mp3 and m4a files.
Yes, this is not intended behavior and will be fixed.

For some reason foo_youtube stopped creating playlists, trying to get one through youtube search leaves a blank window
So, Youtube Search popup window does not work with feed URLs. This will be fixed.

Is there another way of getting the song list without clicking through it manually (which is a bit bothering when it comes to big playlists) ?
There are no way yet.

Re: foo_youtube
Reply #831
But, the problem is that the 'automatic full screen mode' happens for 'audio' only files. I tested with mp3 and m4a files.
Yes, this is not intended behavior and will be fixed.

For some reason foo_youtube stopped creating playlists, trying to get one through youtube search leaves a blank window
So, Youtube Search popup window does not work with feed URLs. This will be fixed.

Is there another way of getting the song list without clicking through it manually (which is a bit bothering when it comes to big playlists) ?
There are no way yet.
i am testing the you tube with foobar2000 i think it looses data from original video, sounds a bit like mp3?

  • rykiff
  • [*]
Re: foo_youtube
Reply #832
I love this plugin and have been using it for months. I find that some of my youtube videos have started to disappear, which makes me beg the question... is it possible to save a youtube video using this plugin? I've been able to convert to audio using the fb2k media converter, but wasn't sure if I could save the raw file format with video using this plugin.

  • widerock
  • [*][*][*]
Re: foo_youtube
Reply #833
to save a youtube video using this plugin
Me too.

  • Wolfbane
  • [*][*]
Re: foo_youtube
Reply #834
*1* A way to download videos and store manually is a feature a lot of people would like in the future, seen it been suggested several times.

*2* Is there any plans to "Upload/convert/export" ones entire playlist from foobar to and make a "you-tube playlist" feature?

  • mire777
  • [*][*][*][*][*]
Re: foo_youtube
Reply #835
ignore this post, i fixed the problem..
  • Last Edit: 14 September, 2017, 05:56:53 AM by mire777

Re: foo_youtube
Reply #836
Hello,
with last version foo_youtube_2.0.1_preconf.fb2k, when I click on radio stream link I have a Pop windows with message :
Video STOP no video
Is it possible to avoid this?


  • Wolfbane
  • [*][*]
Re: foo_youtube
Reply #837
Noticed that on some songs I get from you tube, it takes the "you tube account" as writes on the "Artist Name".
Not sure if it is only on songs I have not edited the Artis field manually, or what is causing it, But seems like the way it gets/grabs artist name is changed and now is sometimes gets the YouTube channel as artist.


  • TheQwertiest
  • [*][*][*]
Re: foo_youtube
Reply #838
Noticed that on some songs I get from you tube, it takes the "you tube account" as writes on the "Artist Name".
Not sure if it is only on songs I have not edited the Artis field manually, or what is causing it, But seems like the way it gets/grabs artist name is changed and now is sometimes gets the YouTube channel as artist.
Yup, it is changed and this is the default behaviour now (see http://fy.3dyd.com/changelog/details/2_0.html#Metadata_construction_changes).

Workaround:
Quote
If one would like to bring back behavior from 1.x version, it can be enabled using option Enable clip title parsing rule from Features tab of component preferences. Note, to update info for already added tracks in this case (as well as after rule edit) now need just reload track info (e.g. using context menu Properties Metadata Tools Reload info).

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #839
but wasn't sure if I could save the raw file format with video using this plugin.
This component cannot do that. There is plenty of standalone tools, browser scripts and web services to download raw videos from Youtube. Consider using one of them.

Is there any plans to "Upload/convert/export" ones entire playlist from foobar to and make a "you-tube playlist" feature?
Not sure what you mean.

with last version foo_youtube_2.0.1_preconf.fb2k, when I click on radio stream link I have a Pop windows with message :
Video STOP no video
Is it possible to avoid this?
Yes. Until it is fixed, use option 'Allow video playback only for supported URLs' (preferences Advanced -> Tools -> Youtube Source -> Video). Or you can set 'Show video frame' to 'Manually' (preferences Tools -> Youtube Source -> Video).

Re: foo_youtube
Reply #840
with last version foo_youtube_2.0.1_preconf.fb2k, when I click on radio stream link I have a Pop windows with message :
Video STOP no video
Is it possible to avoid this?
Yes. Until it is fixed, use option 'Allow video playback only for supported URLs' (preferences Advanced -> Tools -> Youtube Source -> Video). Or you can set 'Show video frame' to 'Manually' (preferences Tools -> Youtube Source -> Video).
Thank you :) Before reading your reply I setted "Show video frame to Manually", which solved this annoying problem.


  • Wolfbane
  • [*][*]
Re: foo_youtube
Reply #841
Is there any plans to "Upload/convert/export" ones entire playlist from foobar to and make a "you-tube playlist" feature?
Not sure what you mean.

I was asking, if you had any plans or could implement a feature that does the following.

Takes all the songs in my playlist in foobar, and exports them into a playlist on youtube, so that I can give the link of that playlist to a friend or something.

A playlist like this for example
https://www.youtube.com/watch?v=SV7J5-HymT4&list=PLSmFauli-7gUee702h1mfxdlqUQVaPTnd

But simply a way to not have to add each some manually one by one, as Im forced to do now.
Yes Im guessing it might need to have a "you-tube login" thing required, since otherwise it would be hard to create a playlist.

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #842
I see. No, there are no plans to upload videos to Youtube within this component.

  • Rhyzak
  • [*]
Re: foo_youtube
Reply #843
Do these no longer work?
Code: [Select]
%3dydfy_title%
%3dydfy_description%
%3dydfy_uploader%
%3dydfy_rating%
%3dydfy_view_count%
%3dydfy_uploaded%
%3dydfy_like_count%
%3dydfy_dislike_count%
%3dydfy_like_ratio%

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #844
They were reorganized. The change of major version number is a good enough excuse for that. More info is in last paragraph of Back compatibility topic.

  • gr8cx
  • [*]
Re: foo_youtube
Reply #845
hi 3dyd

how open youtube LIVE STREAM? https://www.youtube.com/watch?v=HrnV_WNLW98

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #846
Nothing special, for example using File -> Add location. Do you have some issue with this stream? I've just checked, in my case component plays it as usual.

  • TheQwertiest
  • [*][*][*]
Re: foo_youtube
Reply #847
Hey @3dyd !
Is it possible to add some sort of a tag, which would be used to determine title parsing rule?
E.g. let's say such tag's name is %fy_parse_title% : if %fy_parse_title% is set, then old title parsing rule is used (with splitting and etc), otherwise foo_youtube keeps the whole yt video name as track title.

Another possible solution is an additional context menu, smth like 'YT' -> 'Reload meta with title parsing' + 'YT' -> 'Reload meta w/o title parsing'.

My case: I have multiple playlists containing yt videos, some of which are streams and non-music, where old splitting rule is not really applicable, and others that have plain music videos, where old parsing is preferable. So if I want correct tags, I have to change title parsing rule in preferences each time I'm adding a video =(
  • Last Edit: 05 October, 2017, 10:11:36 AM by TheQwertiest

  • 3dyd
  • [*][*][*][*]
  • Developer
Re: foo_youtube
Reply #848
Actually you can use user metadata for what you want. If user metadata is present, rules of metadata autofill do not apply.

The only problem then is how to fill user metadata out of automatically constructed metadata. For now the only way it can be done is to manually edit metadata (for example, add some dummy album name), then click Apply (that will make all metadata to be saved as user metadata), then remove that dummy tag (it will be removed from user metadata, but all other tags will remain to be user metadata). I can add context menu items to automate this process.

  • gr8cx
  • [*]
Re: foo_youtube
Reply #849
Nothing special, for example using File -> Add location. Do you have some issue with this stream? I've just checked, in my case component plays it as usual.

hmm music play good but video dont show 'Stopped'