Skip to main content
Topic: foo_youtube (Read 228875 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: foo_youtube

Reply #1200
Yes, there is 403 error for most (not all) YT videos.

Re: foo_youtube

Reply #1201
Error 403 should be fixed in latest beta.

Please add the ability to enable full screen with one click.
Could you elaborate? Currently full screen mode can be toggled using double click or by pressing Alt+Enter.

how i do create auto-update-foobar-playlist from youtube-subscriptions?
when in my youtube-subscriptions appears new video in foobar_playlist appears this video automatically?
"Auto-updated Playlists" feature (menu View -> Youtube Source) requires Youtube playlist to be added in foobar2000. After that component updates playlist on configurable schedule (or by user request). If Youtube provides ability to generate public playlist URL basing on your subscription then this is way to go. Otherwise, if user authentication is required to get content of subscription, then component cannot do that.


Re: foo_youtube

Reply #1203
Is there a way to prevent the cached audio data file from being automatically deleted when playback moves onto the next track? <...> I don't want it to re-retrieve the data from youtube every time.
Currently component is far away from being able to reuse data that was cached in the past.

When playback order is set to "Repeat (track)", and when the track reaches its end, it pings youtube's servers. I don't understand why this needs to happen. Given all the required audio data is already cached, and since I'm just looping the audio that's been already cached, I don't see why it needs to connect to youtube's servers for anything. So why does this happen?
Could be an unaccounted artifact. Or by design (because cache reuse from previous track is actually not part of original design but merely a hack). I'll check if the fix is feasible.

does this mean that we can decode any URL supported by youtube-dl now?
It is supposed so. But honestly I've tested a dozen of sites at best.

How would I go about loading soundcloud URLs with this plugin now? I've downloaded youtube-dl and set it to the preferred internal analyzer, but that doesn't seem to help. Whenever loading a soundcloud URL, I get an 'unsupported file format' error in console.
As others have already pointed out, in this case it was issue with youtube-dl. Version 2019.12.25 (the latest at the moment of quoted post) cannot open Soundcloud URL but the latest one (2020.01.24 at this moment) works well.

Another thing is I cannot make subtitle working with Lyric Show 3...
Confirmed a bug. Will be fixed in beta 2.

Re: foo_youtube

Reply #1204
Can confirm soundcloud issue is fixed in the latest version of youtube-dl, and that using youtube-dl as the internal analyzer even fixes the issues with loading youtube urls in version 3.4 of foo_youtube -- thanks to 3dyd for keeping this wonderful plugin alive, and for continuing to be one of the most active and reliable devs out there.


Re: foo_youtube

Reply #1206
Quote
Could you elaborate?
3dyd
I use the player on the multi-touch screen. One touch is more convenient.
Maybe this has something to do with focus, but I can’t turn on the full screen using Alt + Enter,
At the same time, Alt + Enter returns the normal screen.

I’ll ask for another choice of switching presets(selection of download quality) through the "Keyboard Shortcut"

Also, there are not enough buttons for switching tracks in full screen mode,
or even better with gestures, as in PotPlayer: https://potplayer.daum.net/)
Movement to the right with the clamped LMB - track forward. Left - back.

Noticed it scales to a full screen, somehow strange .. first the window moves to the upper left corner, and then opens.
Thanks for any additions!

Re: foo_youtube

Reply #1207
3dyd, could you enlight me about one thing? foo_youtube store all info about added tracks in cache ("%profile_cache%\foo_youtube\cache\meta" by default). If i delete added track from playlist (or delete playlist itself), then info about track would be cleared from cache too? Or not?
Option "Maximum number of tracks to cache" set to 0 (unlimited).

Re: foo_youtube

Reply #1208
As far as I can tell, no. The metadata and any images associated with the tracks will stay cached until you delete them.

Re: foo_youtube

Reply #1209
As far as I can tell, no. The metadata and any images associated with the tracks will stay cached until you delete them.
Slender , thank you.
I just thought, that plugin has some sort of "auto-optimization": all cache data without playlist entry periodically deleted.

Re: foo_youtube

Reply #1210
Quote
Unable to open item for playback (Youtube Source: Analysis, server error (code # 429) | Analysis, no video found on Youtube URL)
Corrects only IP change

Re: foo_youtube

Reply #1211
I have a question (and hopefully not a feature request...)

I like using the 'youtube source > video > window > background > image > album art' feature, but it does not work for media I have downloaded. Is there a way to make it also display thumbnails from locally saved videos, or create my own rules for displaying background album art? I'd like to be able to create my own rules similar to the built-in album art reader, where I can have fallback image filters if it does not find an applicable source (e.g. if video thumbnail doesn't exist, display album.*, else *album*.*, etc)

Re: foo_youtube

Reply #1212
seems like youtube changed something for instance i cant seem to get it to load playlists, at least playlist 50 items or larger. small play lists work but right around 50 items i get a timeout.

Re: foo_youtube

Reply #1213
Just for my curiosity: does anybody know why %fy_url% is not documented in the titleformatting. Workarounds like https://"%path%" are used quite often, see here. Anything wrong with %fy_url%?

Re: foo_youtube

Reply #1214
I think the current logic for cue_sheet in "Make Album" functionality  is wrong.
INDEX 01 points always to track's start
INDEX 02(in case where is 02 is the last INDEX) : defines current end of track and consequently its duration. (we don't need this for pregap functionality)
INDEX 00 is  previous track's end, (=pregap)

Now thinking about the algorithm creating the sheet, your leads are:

 * Listening to youtube video track starts: Those would be  the "01"  indexes of   the NEW cue sheet. You can be 100% sure these are correct times.

 * The starts(index 01) of the searched cue_sheet which are probably wrong.

 * The lengths of the search cue_sheet which are PROBABLY correct.

In case lengths are correct you can easily calculate the pregaps: current track idx1 - (previous tack idx1 + previous track length)
Unfortunately lengths won't be always accurate, so if you want 3dyd  to  support pregaps you probably should add a user editable pregap column.  Changes to it should keep previous track length unchanged and change current(and following)  track start times. Better UX and less frustrating for you not having to take any  guesses.

Re: foo_youtube

Reply #1215
I added a panel that play local video files, that's my main usage of foo_youtube. How can I prevent it to open that window that plays the video twice?

Re: foo_youtube

Reply #1216
I added a panel that play local video files, that's my main usage of foo_youtube. How can I prevent it to open that window that plays the video twice?

I was trying to figure out what's wrong on my own. I had to remove another video plug-in, the "Local Video Player". Now all settings of foo_youtube are working without problems.

Re: foo_youtube

Reply #1217
@3dyd
Could you add some important OSD controls(For full screen), for example? :
Spoiler (click to show/hide)

Re: foo_youtube

Reply #1218
@3dyd
Could you add some important OSD controls, for example? :
Spoiler (click to show/hide)

Re: foo_youtube

Reply #1219
Maybe this has something to do with focus, but I can’t turn on the full screen using Alt + Enter,
At the same time, Alt + Enter returns the normal screen.
If you use video UIE, it does not hold keyboard focus (only video popup window does). In this case - only double click (double tap).

I’ll ask for another choice of switching presets(selection of download quality) through the "Keyboard Shortcut"
Not planned since this can be done via video context menu.

Also, there are not enough buttons for switching tracks in full screen mode,
or even better with gestures
Noted.

Noticed it scales to a full screen, somehow strange .. first the window moves to the upper left corner, and then opens.
Should be worked around in latest beta (only for Win 8.1+).

I just thought, that plugin has some sort of "auto-optimization": all cache data without playlist entry periodically deleted.
When "Maximum number or tracks/thumbnails to cache" is set to number other than zero component deletes least recently used items to keep total number of items within given limit.

Quote
Unable to open item for playback (Youtube Source: Analysis, server error (code # 429) | Analysis, no video found on Youtube URL)
Corrects only IP change
Now there is an alternative.

I like using the 'youtube source > video > window > background > image > album art' feature, but it does not work for media I have downloaded. Is there a way to make it also display thumbnails from locally saved videos, or create my own rules for displaying background album art?
Component uses foobar2000 API to get album art. If it is possible to make so that video thumbnail appears in standard Album Art UIE, it will also appear in video window.

seems like youtube changed something for instance i cant seem to get it to load playlists, at least playlist 50 items or larger. small play lists work but right around 50 items i get a timeout.
API quota has been exhausted near this date. More info about this thing is here. I plan to remove dependency on Youtube API (probably in 3.6). For now for playlists loading can also be used youtube-dl (it does not depend on API). For on-site search there is no alternative yet (within component).

Just for my curiosity: does anybody know why %fy_url% is not documented in the titleformatting. Workarounds like https://"%path%" are used quite often, see here. Anything wrong with %fy_url%?
Nothing wrong with it, just forgot to document. Actually it is preferred way to go because for example for search or playlist tracks https://%path% won't give correct result. Documentation has been updated.

Could you add some important OSD controls, for example? :
OSD duplicating existing functionality (context menu in this case) is not planned.

Re: foo_youtube

Reply #1220
I am unsure if I am missing it, but is there a way to create a context menu for foo_youtube that will Add the location currently in the clipboard to the current playlist.

Currently I have to copy url from youtube, switch to foobar, use file->add location->ctrl V to paste location, hit enter, then hit play to begin playing.

It would be nice to have a context menu that uses add location to paste the contents of the clipboard into the currently selected playlist.

Re: foo_youtube

Reply #1221
I think the current logic for cue_sheet in "Make Album" functionality  is wrong.
<...>
So you mean, for example, for two one-minute-long tracks with pregap of 30 seconds between them instead of this:
Code: [Select]
  TRACK 01 AUDIO
    TITLE "First"
    INDEX 01 00:00:00
    INDEX 02 01:00:00
  TRACK 02 AUDIO
    TITLE "Second"
    INDEX 01 01:30:00
do this?
Code: [Select]
  TRACK 01 AUDIO
    TITLE "First"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Second"
    INDEX 00 01:00:00
    INDEX 01 01:30:00
When foobar2000 loads such cuesheet, pregap becomes part of preceding song (if I had not already messed up this part of CUE loading). So in the second example "First" track will be 90 seconds long.

Component skips gaps so it would anyway need to tweak cuesheet loading as it does so with INDEX 02. But, unlike INDEX 02, with INDEX 00 you cannot specify the end of last track in case it does not match the end of entire video.

This feature is meant to become a generic way to split or cut off track. So both Start and Length columns must remain to be editable. In this case addition of third editable column does not look reasonable, as it does not add new functionality.

Also need to understand that this feature is not about cuesheets at all. Cuesheet is just used as a tool for track splitting and further versions may switch to some other way. So binding to cuesheet terminology in UI is not desirable.

It would be nice to have a context menu that uses add location to paste the contents of the clipboard into the currently selected playlist.
Playlist сontext menu contains actions to be performed on selected tracks in playlist. What you want merely fits to main menu item, not context menu item.

Anyway, this sounds like a generic feature, not something specific to this component.

 
SimplePortal 1.0.0 RC1 © 2008-2020