IPB

Welcome Guest ( Log In | Register )

16 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
foo_youtube, Play Youtube playlists and single clips
musikomaniak
post Feb 3 2014, 20:00
Post #26





Group: Members
Posts: 132
Joined: 5-June 13
From: France
Member No.: 108507



QUOTE (mire777 @ Jan 26 2014, 11:07) *
This is how it looks, i also have images and bio text for Youtube video wink.gif



For me it does not look at all like mire777.
I can listen, but I don't have any image or bio.


Edit
What looks mine, listening to youtube Jazz Compilation http://www.youtube.com/watch?v=0gcu3GI3nA4


This post has been edited by musikomaniak: Feb 3 2014, 20:38
Go to the top of the page
+Quote Post
mire777
post Feb 3 2014, 20:40
Post #27





Group: Members
Posts: 388
Joined: 9-June 12
Member No.: 100550



QUOTE (musikomaniak @ Feb 3 2014, 21:00) *
For me it does not look at all like mire777.
I can listen, but I don't have any image or bio.

It's not an option in this component..
I think that 3dyd will do something to support this..
For now, you can use my script: http://mire777.deviantart.com/art/WSH-Biog...C2003-419126433
In field 'Artist format' you should enter: $if(%artist%,%artist%,%title%) , and use 'google' or 'yahoo' server for image, because from last.fm didn't work..

This post has been edited by mire777: Feb 3 2014, 20:47
Go to the top of the page
+Quote Post
musikomaniak
post Feb 3 2014, 20:59
Post #28





Group: Members
Posts: 132
Joined: 5-June 13
From: France
Member No.: 108507



Thanks a lot Mire777. I thought it was part of the component smile.gif
I'll try your script, but I'm not sure to know how to.

What do you mean by
QUOTE
use 'google' or 'yahoo' server for image
?
You mean to use Chrome, instead of Mozilla or Opera?

This post has been edited by musikomaniak: Feb 3 2014, 21:07
Go to the top of the page
+Quote Post
mire777
post Feb 3 2014, 21:13
Post #29





Group: Members
Posts: 388
Joined: 9-June 12
Member No.: 100550



QUOTE (musikomaniak @ Feb 3 2014, 21:59) *
Thanks a lot Mire777. I thought it was part of the component smile.gif
I'll try your script, but I'm not sure to know how to.

What do you mean by
QUOTE
use 'google' or 'yahoo' server for image?
You mean to use Chrome, instead of Mozilla or Opera?


No this is a part of script, in properties- ''download source'' for images you should enter: google or yahoo instead of last.fm.
For text biography in properties- in ''download source'' you should enter: last.fm. And in Artist format you also use: $if(%artist%,%artist%,%title%)
Only you must have instaled and functional Internet Explorer because script use that browser in background to download images..
Go to the top of the page
+Quote Post
room302
post Feb 3 2014, 21:15
Post #30





Group: Members
Posts: 11
Joined: 25-October 12
Member No.: 104075



QUOTE (mire777 @ Feb 3 2014, 21:40) *
I think that 3dyd will do something to support this..


exactly, we need that rolleyes.gif
Go to the top of the page
+Quote Post
musikomaniak
post Feb 3 2014, 22:01
Post #31





Group: Members
Posts: 132
Joined: 5-June 13
From: France
Member No.: 108507



QUOTE (mire777 @ Feb 3 2014, 21:13) *
No this is a part of script, in properties- ''download source'' for images you should enter: google or yahoo instead of last.fm.
For text biography in properties- in ''download source'' you should enter: last.fm. And in Artist format you also use: $if(%artist%,%artist%,%title%)
Only you must have instaled and functional Internet Explorer because script use that browser in background to download images..

I'll have to understand where to put the script. Sorry, I'm very low and stupid smile.gif
On the other hand I have the components foo_uie_biography, foo_uie_lyrics and I don't use Last.fm and don't have WSH panel.
I think it would be easier for me just to listen to Youtube smile.gif
Go to the top of the page
+Quote Post
3dyd
post Feb 4 2014, 15:32
Post #32





Group: Members
Posts: 116
Joined: 21-January 14
Member No.: 114156



The idea is great but unfortunatelly there is one moment. Youtube clips haven't such properties like artist, album name etc. All what can be used in context of this component - clip title (as %title%) and clip duration. The user who uploaded the video gives a title for it and there are no rules regarding to this. So for example it can be 'Manowar - Mountains', 'Mountains (Manowar) ^___-' or just 'The best sogn ever!!!1'. Thus in many (or most) cases search info on separated services (last.fm, Google etc) by clip title may result in nothing. Other variant here (which will provide less useful info but at least will provide it always) - is to use in Biography View thumbnail and description from original Youtube clip page. But this task is out of foo_youtube scope and for somebody who is familiar with Biography View extending (I'm not)
Go to the top of the page
+Quote Post
3dyd
post Feb 4 2014, 19:15
Post #33





Group: Members
Posts: 116
Joined: 21-January 14
Member No.: 114156



New version:
foo_youtube_0.0.4.zip

Changes:
- show clip thumbnail in Album Art (disabled by default)
- show info in Log about clips skipped due to feed loading

Also updated first post of the topic, take a look.

This post has been edited by 3dyd: Feb 4 2014, 19:18
Go to the top of the page
+Quote Post
room302
post Feb 4 2014, 20:38
Post #34





Group: Members
Posts: 11
Joined: 25-October 12
Member No.: 104075



QUOTE (3dyd @ Feb 4 2014, 20:15) *
- show clip thumbnail in Album Art (disabled by default)
- show info in Log about clips skipped due to feed loading


everything is perfect.
but i think thumbnail option must be enabled by default.
good job
Go to the top of the page
+Quote Post
mire777
post Feb 5 2014, 11:20
Post #35





Group: Members
Posts: 388
Joined: 9-June 12
Member No.: 100550



QUOTE (3dyd @ Feb 4 2014, 16:32) *
The idea is great but unfortunatelly there is one moment. Youtube clips haven't such properties like artist, album name etc. All what can be used in context of this component - clip title (as %title%) and clip duration. The user who uploaded the video gives a title for it and there are no rules regarding to this. So for example it can be 'Manowar - Mountains', 'Mountains (Manowar) ^___-' or just 'The best sogn ever!!!1'. Thus in many (or most) cases search info on separated services (last.fm, Google etc) by clip title may result in nothing. Other variant here (which will provide less useful info but at least will provide it always) - is to use in Biography View thumbnail and description from original Youtube clip page. But this task is out of foo_youtube scope and for somebody who is familiar with Biography View extending (I'm not)


'Albumart thumbnail' is perfect,thank you.. smile.gif One thing, you can split title in tag fields if it has ''-'' separator, example: 'Manowar - Mountains' , to be: artist: 'Manowar' , title: 'Mountains' , because user on youtube in most cases use this format. Then we can have biography photos and text if use ''biography component'', also if use ''foo_uie_lyrics3'' you can have lyrics. You can add in preferences, something like: 'split title in tags'.
I also use this metod in foobar to 'automatically fill values in tags' directly from foobar(when i download some song from youtube), i use titleformat: #youtube# %artist% -%title%- , and it fill all my tags..

About biography view component, develop has not been seen for a long time now, but idea to use thumbnail and description from original Youtube clip page is good..
This can be done in WSH..
Component is perfect now, only waiting search option smile.gif . Thanks a lot..
Go to the top of the page
+Quote Post
d125q
post Feb 5 2014, 12:25
Post #36





Group: Members
Posts: 68
Joined: 4-May 13
Member No.: 107966



QUOTE (mire777 @ Feb 5 2014, 11:20) *
One thing, you can split title in tag fields if it has ''-'' separator, example: 'Manowar - Mountains' , to be: artist: 'Manowar' , title: 'Mountains' , because user on youtube in most cases use this format. Then we can have biography photos and text if use ''biography component'', also if use ''foo_uie_lyrics3'' you can have lyrics. You can add in preferences, something like: 'split title in tags'.

Indeed; this is how foobar2000 handles SHOUTcast streams; %artist% takes the StreamTitle up to the first '-' character, while %title% the StreamTitle after the first '-' character.
Go to the top of the page
+Quote Post
3dyd
post Feb 6 2014, 16:42
Post #37





Group: Members
Posts: 116
Joined: 21-January 14
Member No.: 114156



QUOTE (room302 @ Feb 4 2014, 22:38) *
but i think thumbnail option must be enabled by default.

I'm not sure in it yet i.e. it should work fine but who knows... So disabled by default for now.

@mire777, @d125q
This approach will work not always. But yes, idea is good, so will be as an option.
Go to the top of the page
+Quote Post
3dyd
post Feb 7 2014, 21:53
Post #38





Group: Members
Posts: 116
Joined: 21-January 14
Member No.: 114156



New version:
foo_youtube_0.0.5.zip

Changes:
- clip title parsing rules. Read below
- remove black areas in Youtube thumbnails. Disabled by default
- clips history size control

About clip title parsing. There are three predefined ways:
- first is use whole clip title as %title% (as it now, this is default)
- second is split clip title to %artist% and %title% by first '-' character
- about third variant. ~55% of clips also have some comment at end of the title within () or [] e.g. Sonata Arctica - Don't Be Mean (New Album). Third variant is extension of second which ignores such comments. This may extend the chance that artist and title will be retrieved correctly.

Rules can be added manually, added some info to preferences help (at bottom of the page). There are also some info about removing black areas from thumbnails of Youtube clips.

This post has been edited by 3dyd: Feb 7 2014, 22:22
Go to the top of the page
+Quote Post
room302
post Feb 8 2014, 00:41
Post #39





Group: Members
Posts: 11
Joined: 25-October 12
Member No.: 104075



after every update it getting better.
ideas:
-maybe u can integrate "stream recorder" for directly sound record from videos

regards
Go to the top of the page
+Quote Post
mire777
post Feb 8 2014, 11:15
Post #40





Group: Members
Posts: 388
Joined: 9-June 12
Member No.: 100550



QUOTE (room302 @ Feb 8 2014, 01:41) *
after every update it getting better.
ideas:
-maybe u can integrate "stream recorder" for directly sound record from videos

regards


Room302 - You can save video sound with foobar converter, in mp3 or wav format, focus selected video from playlist and just hit convert.
If you chose best quality video in preferences, than your output sound in mp3 also be best quality..
It will also save tags: %artist% - %title% , and if you use foo_uie_biography component set to save artwork image, if you have path set in preferences>display, you will have thumbnails for each track in playlist smile.gif

3dyd thanks alot , works great, all info is displayed: biography text, images and lyrics... smile.gif
Go to the top of the page
+Quote Post
nada
post Feb 8 2014, 13:18
Post #41





Group: Members
Posts: 4
Joined: 8-February 14
Member No.: 114378



Good component, but I have a problem. If you set any quality other than 32kbps, youtube sound have interruptions.
I have to adjust the playback output buffer length in 30000ms to avoid this.
But even then, some video sound have interruptions..
Is there a way to fix this? Thanks.
Go to the top of the page
+Quote Post
room302
post Feb 8 2014, 20:45
Post #42





Group: Members
Posts: 11
Joined: 25-October 12
Member No.: 104075



QUOTE (mire777 @ Feb 8 2014, 12:15) *
Room302 - You can save video sound with foobar converter, in mp3 or wav format, focus selected video from playlist and just hit convert.


ah well, its very useful and better than my idea smile.gif
thank u for information.
Go to the top of the page
+Quote Post
musikomaniak
post Feb 9 2014, 10:17
Post #43





Group: Members
Posts: 132
Joined: 5-June 13
From: France
Member No.: 108507



With the last version 0.0.5 I see an image smile.gif


Edit :
I also have artist biography and more smile.gif smile.gif


This post has been edited by musikomaniak: Feb 9 2014, 10:32
Go to the top of the page
+Quote Post
mooter
post Feb 9 2014, 10:50
Post #44





Group: Members
Posts: 11
Joined: 27-October 06
Member No.: 36830



3dyd, I just want to thank you for making this component. The only reason I come to this forum is about once a month just to see if someone has made this yet, and now you have:)
Browsers are overkill with ram and cpu just to stream music of YT, there are some great playlists and other stuff that can only be found there.
Foobar is perfect for this and that's why it and it's community kicks ass!

Thanks again man, I really appreciate it. It's already better than 'good enough' imo smile.gif

This post has been edited by mooter: Feb 9 2014, 10:51
Go to the top of the page
+Quote Post
neons
post Feb 9 2014, 11:58
Post #45





Group: Members
Posts: 11
Joined: 23-February 13
Member No.: 106833



I also come here to thank you for this component. The only thing I'd like to have also, is to be able to search youtube videos from foobar.
I hope that this will be added as option in next release..
Thank you very much for this component and your work, it's perfect.
Works great.
Go to the top of the page
+Quote Post
Wolfbane
post Feb 9 2014, 17:41
Post #46





Group: Members
Posts: 28
Joined: 26-April 13
Member No.: 107845



Nice addon/plugin, have installed it and it has really nice possibilities.

I have gotten it only to show an Image in the "Album Art Viewer". If it is already possible to make it play a video, plz enlighten me how.
Is there any way in the future to let it actually play the you tube video ?

I would prob prefer if the you tube clip video was in a seperate window of it own instead, if that is possible, in the same way as "Lyric Show Panel"

This post has been edited by Wolfbane: Feb 9 2014, 17:44
Go to the top of the page
+Quote Post
detmek
post Feb 10 2014, 01:58
Post #47





Group: Members
Posts: 78
Joined: 24-June 08
Member No.: 54802



Thanks for this plugin. I installed it an hour ago and it works stable and just as I want. Thanks again.
Go to the top of the page
+Quote Post
3dyd
post Feb 10 2014, 02:44
Post #48





Group: Members
Posts: 116
Joined: 21-January 14
Member No.: 114156



Thanks to all for feedback!

@Wolfbane
Well, foobar is an audio player, so I will probably not even try this.

QUOTE (nada @ Feb 8 2014, 15:18) *
Good component, but I have a problem. If you set any quality other than 32kbps, youtube sound have interruptions.
I have to adjust the playback output buffer length in 30000ms to avoid this.
But even then, some video sound have interruptions..
Is there a way to fix this? Thanks.


Actually I've noted a kind of this problem (that's why WebM disabled by default). Now seems it is time to think about this.
What need to play Youtube clip in context of this component:
#1. get link to playable media
#2. provide access to this media for decoder (i.e. download it from the Internet)
#3. decode media file data and play.
Component by itself does only #1. Downloading the media and decode[/preprocess]/play depends on foobar. I.e. if clip started to play - component's job was done and done successfully.
What can be done. First and foremost, should be understood that most of the media files on Youtube are video clips. In this case, if foobar plays an audio from the clip, it anyway downloads video file and plays audio from it. If bitrate of whole media file is greater than your Internet speed then you'll get interruptions. You can move Playback Start slider in component Preferences page to Medium - in this case in History tab will be shown also size of each media file (note, this slows down playback start) so you can determine if it is the problem of media file size in your case.
But. Looking more deeply, foobar seems always downloads the media by small pieces (v1.3.1). This is probably good for streamed media or has some other reasons but in case of Youtube clips this may give overhead and interruptions. So if somebody constantly has playback interruptions trouble, try this build: foo_youtube_0.0.6_(dev1).zip. Check in Preferences Use own downloader and say if this solves the problem. If this option enabled, component also takes role #2 from the list above (only for Youtube clips, any other downloading from the Internet (like Internet-radio) stays untouched). Difference with native implementation in general - it caches whole file in temp folder.
Go to the top of the page
+Quote Post
nada
post Feb 10 2014, 04:29
Post #49





Group: Members
Posts: 4
Joined: 8-February 14
Member No.: 114378



QUOTE (3dyd @ Feb 10 2014, 02:44) *
Thanks to all for feedback!

@Wolfbane
Well, foobar is an audio player, so I will probably not even try this.

QUOTE (nada @ Feb 8 2014, 15:18) *
Good component, but I have a problem. If you set any quality other than 32kbps, youtube sound have interruptions.
I have to adjust the playback output buffer length in 30000ms to avoid this.
But even then, some video sound have interruptions..
Is there a way to fix this? Thanks.


Actually I've noted a kind of this problem (that's why WebM disabled by default). Now seems it is time to think about this.
What need to play Youtube clip in context of this component:
#1. get link to playable media
#2. provide access to this media for decoder (i.e. download it from the Internet)
#3. decode media file data and play.
Component by itself does only #1. Downloading the media and decode[/preprocess]/play depends on foobar. I.e. if clip started to play - component's job was done and done successfully.
What can be done. First and foremost, should be understood that most of the media files on Youtube are video clips. In this case, if foobar plays an audio from the clip, it anyway downloads video file and plays audio from it. If bitrate of whole media file is greater than your Internet speed then you'll get interruptions. You can move Playback Start slider in component Preferences page to Medium - in this case in History tab will be shown also size of each media file (note, this slows down playback start) so you can determine if it is the problem of media file size in your case.
But. Looking more deeply, foobar seems always downloads the media by small pieces (v1.3.1). This is probably good for streamed media or has some other reasons but in case of Youtube clips this may give overhead and interruptions. So if somebody constantly has playback interruptions trouble, try this build: foo_youtube_0.0.6_(dev1).zip. Check in Preferences Use own downloader and say if this solves the problem. If this option enabled, component also takes role #2 from the list above (only for Youtube clips, any other downloading from the Internet (like Internet-radio) stays untouched). Difference with native implementation in general - it caches whole file in temp folder.



Thank you I tested ver 0.0.6, this completely solves my problem. No playback interruption at all.
My settings are:
-Quality -best available
-Prefer youtube adaptive streams
-Use own downloader

Please add this as option in next ver.
I am happy that I now can listen youtube in foobar.
Thank's for your work, it's awesome smile.gif
Go to the top of the page
+Quote Post
mire777
post Feb 10 2014, 16:00
Post #50





Group: Members
Posts: 388
Joined: 9-June 12
Member No.: 100550



Just to confirm that this latest version works faster, even better than from browser, seekbar has faster response..

I have one more idea, if this can be done later..
Last.fm is now using YouTube as a radio player, maybe it can be used to play videos from youtube with recomendation,

Example:
On this url: (http://www.last.fm/listen/artist/Madonna/similarartists), you have radio based player, when it starts play, you can copy that url from youtube, and send it to playlist in foobar, then when video is finished it can trigger new url, and send it to playlist an so on..

this is url with similar artist recomendation: http://www.last.fm/listen/artist/Madonna/similarartists
this is url with genre tag: http://www.last.fm/listen/globaltags/rock
url with user personal playlist: http://www.last.fm/listen/user/{username}/personal
Go to the top of the page
+Quote Post

16 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th October 2014 - 18:04