IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
Foobar Youtube Radio, Youtube Radio(based on recommendation)
WilB
post Apr 1 2014, 23:32
Post #26





Group: Members
Posts: 314
Joined: 20-July 06
Member No.: 33113



Oh well if you think there's too much duplication then it's not a good way. But I tried this:
url = "http://developer.echonest.com/api/v4/playlist/static?api_key=ENTERHERE&artist=madonna&type=artist-radio&results=100" Out of 100 tracks there were 13 by Madonna, may be a similar ratio to what foo_lastfm_radio used to give.

This post has been edited by WilB: Apr 1 2014, 23:34
Go to the top of the page
+Quote Post
mire777
post Apr 1 2014, 23:40
Post #27





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



QUOTE (WilB @ Apr 1 2014, 23:32) *
Oh well if you think there's too much duplication then it's not a good way. But I tried this:
url = "http://developer.echonest.com/api/v4/playlist/static?api_key=ENTERHERE&artist=madonna&type=artist-radio&results=100" Out of 100 tracks there were 13 by Madonna:


I think it's not good way. I can't open this now, because i'm on work, so i dont have my api here with me.
Problem is not to open this in wsh , but how to use json or xtml?
I never try this.

One thing, does playlist change on every call, or remains the same?
I think, see how much duplicates you have, and does new artist appear?
For static u use playlist is limited up to 100.
Last.fm has at least 204 artist.


Edit:

You must use dynamic to have unlimited acces playlist, on echonest..
Maybe this: http://developer.echonest.com/api/v4/playl...pe=artist-radio

This post has been edited by mire777: Apr 2 2014, 00:22
Go to the top of the page
+Quote Post
mire777
post Apr 2 2014, 00:46
Post #28





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



Ok i open this with my api: http://developer.echonest.com/api/v4/playl...amp;results=100

I see it rotating same artist again and again, as i see in demo..
All is the same..
Go to the top of the page
+Quote Post
WilB
post Apr 2 2014, 18:52
Post #29





Group: Members
Posts: 314
Joined: 20-July 06
Member No.: 33113



I don't seem to see it like that.

Yes demo always gives as first artist one you type, but the list that follows has different artists.

May be we are aiming for different things.

Any way I did get it working with echonest as the source, as you did not seem keen on this method.

It uses one call to echonest for 100 tracks and a youtube search on track change.

You can see the results I get from the results of two searches for madonna similar artists radio below.

It seems reasonably similar to how I remember foo_lastfm_radio.

It will be interesting to compare it with your way.

You can also apparently change the variety of artists and song_hotness returned, but I haven't tried that.
CODE

RESULT 1 echonest madonna similar artists radio
Madonna Don't Tell Me,Céline Dion Because You Loved Me,Gloria Estefan Mi Tierra,P!nk Try,Emma Bunton A World Without You,Cyndi Lauper Time After Time,Kelly Osbourne Come Dig Me Out,Annie Lennox A Whiter Shade Of Pale,Madonna Sorry,Darren Hayes Explode,Sophie Ellis-Bextor Get Over You,Gwen Stefani Cool,Tiffany I Think We're Alone Now (Re-Recorded / Remastered),Rihanna Pour It Up (Explicit),Dannii Minogue You Won't Forget About Me,Janet Jackson That's The Way Love Goes,Madonna Die Another Day,Cher Woman's World,Spice Girls Who Do You Think You Are,Kim Wilde You Came (2006 - Album Version),Kelly Osbourne Shut Up,Cyndi Lauper True Colors,Melanie C Never Be The Same Again,Kylie Minogue If Only,Madonna Girl Gone Wild,Rachel Stevens I Said Never Again (But Here We Are),Taylor Dayne I'll Always Love You,Natalie Imbruglia Wrong Impression,Darren Hayes Black Out The Sun,Spice Girls Spice Up Your Life,Emma Bunton What Took You So Long,Martika Cross My Heart,Madonna Open Your Heart,Christina Aguilera Beautiful,Britney Spears Work B**ch,Paula Abdul Knocked Out (Single Version),Gwen Stefani Rich Girl,Martika Flow With the Go,Spice Girls Goodbye,Sophie Ellis-Bextor Catch You,Madonna Papa Don't Preach,Kylie Minogue Kiss Me Once,Cyndi Lauper She Bop,Melanie C Northern Star,Jennifer Lopez On The Floor,Rihanna We Found Love,Dannii Minogue All I Wanna Do,Robbie Williams Go Gentle,Madonna Frozen,Paula Abdul Vibeology,Kylie Minogue Get Outta My Way,Spice Girls Holler (Album Version),Kelly Osbourne Contradiction,Michael Jackson Thriller,Paula Abdul Forever Your Girl (Single Version),Madonna Like A Virgin,Darren Hayes I Miss You,Britney Spears Toxic,Kim Wilde Kids In America,Emma Bunton What I Am,Kelly Osbourne Uh-Oh,Madonna Like A Prayer,Roxette The Look,Cathy Dennis Touch Me (All Night Long),Geri Halliwell It's Raining Men,Emma Bunton High On Love,Cyndi Lauper Girls Just Want To Have Fun,Lady Gaga Applause,Melanie C Think About It,Madonna 4 Minutes,Darren Hayes Stupid Mistake,Sophie Ellis-Bextor Runaway Daydreamer,Gwen Stefani The Sweet Escape,Kylie Minogue Into The Blue,Rihanna What Now,Kelly Osbourne One Word,Taylor Dayne Tell It To My Heart,Madonna Take A Bow,Spice Girls 2 Become 1 (Single Version),Martika Toy Soldiers (Single Version),Belinda Carlisle Leave A Light On,Cyndi Lauper I Drove All Night,Melanie C Weak,Cher Strong Enough,Madonna Music,Christina Aguilera Your Body,Belinda Carlisle I Get Weak,Taylor Dayne Love Will Lead You Back,Cher Believe,Spice Girls Too Much,Emma Bunton Downtown (Single Version),Martika Love...Thy Will Be Done (Single Version),Madonna Live To Tell,Christina Aguilera Fighter,Paula Abdul Cold Hearted,Gwen Stefani Hollaback Girl,Robyn Dancing On My Own,Kylie Minogue Fine,Spice Girls Stop,Sophie Ellis-Bextor Young Blood

RESULT 2 echonest madonna similar artists radio
Madonna Like A Prayer,Gwen Stefani Cool,Cyndi Lauper She Bop,Cher You Haven't Seen The Last Of Me,Taylor Dayne Don't Rush Me,Tiffany Here In My Heart,All Saints Never Ever,Britney Spears Gimme More,Madonna Hung Up,Jennifer Lopez I Luh Ya Papi,Céline Dion It's All Coming Back To Me Now,Lady Gaga G.U.Y.,Robyn Cobrastyle,Kylie Minogue Sexy Love,Roxette It Must Have Been Love,Janet Jackson What Have You Done For Me Lately,Madonna True Blue,Cher I Hope You Find It,Kim Wilde Cambodia,Natasha Bedingfield These Words,Kylie Minogue Kiss Me Once,Anastácia Paid My Dues,Cathy Dennis Touch Me (All Night Long),Gloria Estefan Mi Tierra,Madonna La Isla Bonita,Melanie C First Day Of My Life,Cyndi Lauper True Colors,Christina Aguilera Genie In A Bottle,Taylor Dayne I'll Be Your Shelter,Natalie Imbruglia Torn,Lady Gaga Poker Face,P!nk Raise Your Glass,Madonna Material Girl,Robyn Call Your Girlfriend,Cher Take It Like A Man,Sophie Ellis-Bextor Runaway Daydreamer,P!nk Try,Gwen Stefani Luxurious,Annie Lennox Why,Céline Dion I'm Alive,Madonna Take A Bow,Kylie Minogue Love At First Sight,Ashlee Simpson L.O.V.E.,Janet Jackson That's The Way Love Goes,Britney Spears Criminal,Lady Gaga Bad Romance,Melanie C I Turn To You,Gwen Stefani What You Waiting For?,Kim Wilde Kids In America,Madonna Don't Tell Me,Robyn Konichiwa Bitches,Cher Woman's World,Britney Spears Oops!...I Did It Again,Dannii Minogue I Begin To Wonder,Roxette Listen To Your Heart,Taylor Dayne Love Will Lead You Back,Madonna Sorry,Britney Spears Perfume,Kylie Minogue Into The Blue,Cyndi Lauper The Goonies 'R' Good Enough,Martika Toy Soldiers (Single Version),Madonna 4 Minutes,Cher Gypsies, Tramps And Thieves,Kelly Osbourne One Word,Taylor Dayne Tell It To My Heart,Gwen Stefani Early Winter,Sophie Ellis-Bextor Young Blood,Britney Spears Circus,Madonna Live To Tell,Jennifer Lopez On The Floor,Christina Aguilera Beautiful,Céline Dion That's The Way It Is,Lady Gaga Do What U Want,Robyn Be Mine!,Kylie Minogue Sexercize,Roxette The Look,Cyndi Lauper I Drove All Night,Madonna Ray Of Light,Cher The Shoop Shoop Song (It's In His Kiss),Darren Hayes Bloodstained Heart,Janet Jackson If,Kylie Minogue I Was Gonna Cancel,t.A.T.u. All The Things She Said,Kim Wilde You Keep Me Hangin' On,Madonna Die Another Day,Cyndi Lauper All Through The Night,Christina Aguilera Hurt,Taylor Dayne Can't Get Enough Of Your Love,Melanie C Never Be The Same Again,P!nk Just Give Me a Reason,Madonna Holiday,Robyn Dancing On My Own,Natalie Imbruglia Wrong Impression,Darren Hayes Black Out The Sun,P!nk So What


This post has been edited by WilB: Apr 2 2014, 18:57
Go to the top of the page
+Quote Post
marc2003
post Apr 2 2014, 23:09
Post #30





Group: Members
Posts: 4605
Joined: 27-January 05
From: England
Member No.: 19379



use this to get upto 100 videos for a given artist. not all are youtube so you'll need to check the urls.

http://developer.echonest.com/docs/v4/artist.html#video

use this to get 100 similar artists to your search term. with the bucket parameter set to video, you can get upto 15 videos per artist. that's potentially 1500 links in a single page request. ok, not all will be youtube but i bet the majority are.

http://developer.echonest.com/docs/v4/artist.html#similar

Go to the top of the page
+Quote Post
mire777
post Apr 3 2014, 11:54
Post #31





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



QUOTE (WilB @ Apr 2 2014, 18:52) *
I don't seem to see it like that.

Yes demo always gives as first artist one you type, but the list that follows has different artists.

May be we are aiming for different things.

Any way I did get it working with echonest as the source, as you did not seem keen on this method.

It uses one call to echonest for 100 tracks and a youtube search on track change.

You can see the results I get from the results of two searches for madonna similar artists radio below.

It seems reasonably similar to how I remember foo_lastfm_radio.

It will be interesting to compare it with your way.

You can also apparently change the variety of artists and song_hotness returned, but I haven't tried that.



This is my 100 response for madonna from last.fm:

------------------------------
Toni Braxton - Yesterday
The Sound of Arrows - Longest Ever Daydream
Madonna - Spanish Eyes
Madonna R&D - Nothing fails (Re-Invention Studio)
Heidi Montag - Party Is Wherever I Am
Kylie Minogue - Into The Blue
Ellie Goulding - Lights (Remix)
Madonna - I'm So Stupid
Madonna & Antonio Banderas - Buenos Aires
Kylie Minogue - Wouldn't Change a Thing
Christina Aguilera - Come On Over Baby
Madonna R&D - Falling Free (Orbit Remix)
Little Boots - Symmetry
Cher - You Know It
Laura Branigan - Looking Out For Number One
Jennifer Lopez - Get Right
Gwen Stefani - New
Infernal - Under the Hellsing
Cyndi Lauper - High And Mighty (Tom Novy Mix)
P!nk - Leave Me Alone (I'm Lonely)
Loreen - We Got The Power (Klass Fm)
The Saturdays - Notorious (All Fired Up Tour Live 2011)
Spice Girls - 2 Become 1 (Album Version)
Madonna - Intervention
Alicia Keys - Girl On Fire Inferno
P!nk - Perfect
Adele - Daydreamer Live At Hotel Cafe
Taylor Dayne - The Door to Your Heart
Madonna - Girl Gone Wild (Dada Life Remix)
Lady Gaga - Do What U Want - DJ White Shadow Remix
Daniela Mercury - Pensar Em Voce
Melanie C - Something's Gonna Happen
The Pussycat Dolls - I Hate This Part (Digital Dog Edit)
Sophie Ellis-Bextor - Bittersweet (with The Freemasons)
Kelis - Bossy (Alan Braxe & Fred Falke Earth Out Remix)
Gwen Stefani - The Sweet Escape ft. Akon
P!nk - It's All Your Fault
Grace Jones - Annihilated Rhythm
Janet Jackson - Work
Atomic Kitten - Someone Like Me (Rockamerica Remix)
Jessica Simpson - Where You Are Going (Feat. Nick Lachey)
Ashlee Simpson - Love Makes The World Go 'Round
Charli XCX - Super Love
Madonna - Ray Of Light
Paloma Faith - Picking Up The Pieces
Marta SAnchez - Desconocida
Blondie - War Child
Aaliyah - We need a resolution
Sandra - Everlasting Love
Avril Lavigne - rock n roll
A*Teens - A Teens Mamma Mia
Belinda Carlisle - Fool For Love - 2009 Digital Remaster
Blondie - Atomic
Alcazar - Not a Sinner, nor a Saint
Melanie C - You'll Get Yours
Donna Summer - If You Got It Flaunt It
Lorena Simpson - Brand New Day
Annie - Bongo Song (Zongamin)
Fergie - A little party never killed nobody
Vanessa da Mata - Ai, Ai, Ai
David Guetta - I Junt Wanna F. (David Guetta And Afrojack, Timbaland, Dev)
Mariah Carey - I'll Be There
Mariah Carey - Can't Let Go
Kylie Minogue - Get Outta My Way
Janet Jackson - I Get Lonely
Ashlee Simpson - L.O.V.E. (Remix)
RuPaul - Diesel Pancake Makeup (Interlude)
Cyndi Lauper - Hymn to love (bonus)
Iggy Azalea - 1 800 Bone
Jennifer Hudson - Think Like A Man (Feat. Rick Ross)
The Pussycat Dolls - Jai Ho (DJ Fisun extended mix)
Nelly Furtado - Waiting For The Night
Florrie - You Wanna Start Something
Frankmusik - 09 Brake Lights
Stacey Q - The Model
Mirwais - Production
Mika - Everybody's Talkin
Sophie Ellis-Bextor - Bittersweet
Jennifer Lopez - I'm Real
The Pussycat Dolls - Don't Cha ft. Busta Rhymes
Kid Abelha - Na Rua, Na Chuva Na Fazenda
Madonna - Turn Up The Radio (Offer Nissim Remix)
Lady Gaga - Speechless
Nicole Scherzinger - Right There ft. 50 Cent
Diana Vickers - Smoke
Destiny's Child - Cant Help Myself
Deee-Lite - Picnic in the Summertime
Alicia Keys - Go Ahead
Loreen - My Heart Is Refusing Me
Jennifer Lopez - Jenny From The Block
Madonna - Forbidden Love
Ke$ha - Boots & Boys
Robyn - Call Your Girlfriend
Gloria Estefan - No Me Dejes de Querer
Paulina Rubio - Ni Una Sola Palabra
Goldfrapp - Believer
Marina & the Diamonds - Primadonna
Sarah Brightman - Alone Again Or
Deborah Harry - The Jam Was Moving
Nicki Minaj - Click Clack
Lena Katina - Lost in this dance
Melanie C - When You're Gone (Electric)
Kelly Clarkson - Miss Independent
Gaby Amarantos - Chuva
The Sound of Arrows - Wonders (VISITOR Remix)
Garbage - Milk
Laura Pausini - Inolvidable
Havana Brown - Flashing Lights
Cazwell - Tonight (Craig C's Master Blaster)
Frankmusik - 1A
Annie Lennox - Waiting on broken glass
Ciara - Love Sex Magic
Selena Gomez - Come & Get It
Lindsay Lohan - Confessions Of A Broken Heart
Madonna - What It Feels Like for a Girl
Ariana Grande - Almost Is Never Enough Ft. Nathan Sykes
Vanessa da Mata - Cuide-se Bem
Grace Jones - Pull Up To The Bumper
Havana Brown - Big Banana
Whigfield - Saturday Night
Infernal - Keen On Disco
Sarah Brightman - Who Wants To Live Forever
Sky Ferreira - One - Bar9 Remix
Nicole Scherzinger - Rio
Rouge - Ragatanga
--------------------------

Seems that madonna is not good example(in both cases), as it not have so much artist.
It probably depends on the station you chose.
When i open ''Carrie Lucas'' station, artist doesn't repeat. I listen 6 hours that station, and i found many artist i didn't know.
Maybe both methods are the same..

If you already get it working with echonest, and it works well, then you can paste your script here.
There is no need for me to make something else.
I thought to keep both methods, from(last.fm or echonest) and youtube.

This post has been edited by mire777: Apr 3 2014, 12:05
Go to the top of the page
+Quote Post
WilB
post Apr 3 2014, 18:36
Post #32





Group: Members
Posts: 314
Joined: 20-July 06
Member No.: 33113



@marc2003 – thanks for the tips. As you suggested, 100 similar artists to search term can be obtained from echonest by doing an artist/similar search, and with the bucket parameter set to video, upto 15 videos per artist can be obtained that amounts to 1500 in total. I have this working. The advantage is that it directly gives the youtube link so there is just a single internet search. The disadvantage seems to be that always the same 15 tracks are returned for any one artist (and not necessarily the best tracks) – at least that what my tests have shown so far. I don't know if this can be changed.

So although I have an open mind, the similar artists radio method seems better even though it involves extra internet searches. I haven't tried your other suggestion since searches for a given artist are already handled by the foo_youtube plug-in.

@mire777 – I will let you have a script in due course.

This post has been edited by WilB: Apr 3 2014, 18:44
Go to the top of the page
+Quote Post
mire777
post Apr 4 2014, 13:57
Post #33





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



@WilB

If you want to compare, these 2 metods..
This is pretty dirty script with last.fm.
You can test..
Just select: 'Start Radio' and type artist.

http://pastebin.com/h4RsU7Py

It has problem, sometimes if artist doesn't have tracks, radio will stop. Or you will receive ''undefined' video.
In that case click ''Get Next Video''.

This post has been edited by mire777: Apr 4 2014, 14:06
Go to the top of the page
+Quote Post
mire777
post Apr 9 2014, 11:40
Post #34





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



New version 'Youtube Radio 0.0.5.'
It now use last.fm 'recomendation' metod, to play your personal ''artist'' radio station.

It first search for similar artist on last.fm> then open track page> find track on youtube > and play in foobar.
For all this it use random metod, in that way track doesn't repeat.
It works in same way as last.fm radio on their website.(i think)
I'm very happy with this version..





To start radio, you just select: ''Start Artist Radio'' > this will open dialog box where you type desired ''artist''.
Then radio will open (1) video in playlist, and when you click ''play''> it automatically opens new track.

You can:

Turn radio[on/off].


- Get Next Video

- Search Videos >(this will open 'youtube source window' with ''search'' )

- Start Artist Radio >(will open dialog box where you type ''artist'' station)

- Same artist radio >(will start ''artist radio'' for same 'artist' you selected in playlist)

- Open Same Video >(will open 'same video' you play or focus on it- from your playlist in foobar' [useful if you play radio stream and want's to download track])

- Find in Browser >(will search for same video in browser)


Link for download: http://pastebin.com/BTapaijn

This post has been edited by mire777: Apr 9 2014, 11:51
Go to the top of the page
+Quote Post
musikomaniak
post Apr 9 2014, 13:01
Post #35





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



I don't really know if I'm happy...
While listening to singer Adele, I clicked on "Same artist radio" and it found:
Of monsters and men
Cazuza
and others!
Go to the top of the page
+Quote Post
mire777
post Apr 9 2014, 17:45
Post #36





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



QUOTE (musikomaniak @ Apr 9 2014, 13:01) *
I don't really know if I'm happy...
While listening to singer Adele, I clicked on "Same artist radio" and it found:
Of monsters and men
Cazuza
and others!


Well, this is how it work, it find similar artist and songs, based on this what you listen. This also does previous script but this is more efective. If you don't like what you hear, you can click 'get next'. Or change station. Example enter artist: Cher.
You dont have to click: ''Same Artist'' again, you click 'Get Next'.
Give this time to find good station you like...
It works exactly like last.fm radio on their site...


This post has been edited by mire777: Apr 9 2014, 17:54
Go to the top of the page
+Quote Post
musikomaniak
post Apr 9 2014, 18:02
Post #37





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



It did not find similar artists. The click is named : "Same artist" smile.gif
Sorry, I prefere the previous version, very simple and working ok for me. (I do not use last.fm)
Surely you will continue to work to make the best one with many other functions.
Will it possible to choose a basic version?

This post has been edited by musikomaniak: Apr 9 2014, 18:03
Go to the top of the page
+Quote Post
mire777
post Apr 9 2014, 18:34
Post #38





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



You can use then previous vesion. But this is better. I can ofer both metod in one script. but.. You dont use: ,same artist' to find new one. Script do this on ,get next' or while you playing. It is strange that you didnt find similar artist and songs. Because this metod is more efective than previous
Go to the top of the page
+Quote Post
mire777
post Apr 12 2014, 09:37
Post #39





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



New version, ,,Foobar Youtube Radio 0.0.6.'' : http://pastebin.com/QdjNhAaN

Changes:
In previous ver. if 'artist' has less than 50 songs on page, it use random num. to find track(num. from 0 to 50).
So if artist has 15 song, and 'selected' random number is greater, example: 30 , it can't find track.
Then this artist is skipped, and script go to next...
In that case, in console you will see: ''undefined''.

Now script first check how many track's on page that artist have. And use that number as maximum.
If it have 2 songs, script will find that 2 songs and play them as usual.
So ''undefinied'' should not repeat anymore.
You will receive: ''undefined'' only if artist doesn't have track at all(in that case artist will be skipped).
Because of this change, script now should work faster..

Next addition will be: ''genre''.

This post has been edited by mire777: Apr 12 2014, 09:39
Go to the top of the page
+Quote Post
mire777
post Apr 25 2014, 12:55
Post #40





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



New version: Foobar Youtube Radio 0.0.7.
http://pastebin.com/G76MuFjS

Changes:
-Added Genre.
-Little changes in menu.

For now genre work using this page: http://www.last.fm/music/+tag/metal
Access to page is limited to 27, which is the total of 1600 artist per genre.
Actualy number for genre artist is 1.000 artist, but it plays 'genre+similar'.
So it have more artist..

For genre you type: *pop, *rock, *soul, *jazz, *blues, *rnb, *heavy metal, *disco, *discoteque, *disco, *dance, *house, *techno... Or similar..
Be sure that genre exist on last.fm.
Go to the top of the page
+Quote Post
eahm
post Apr 25 2014, 15:40
Post #41





Group: Members
Posts: 1133
Joined: 11-February 12
Member No.: 97076



Sorry not much of a programmer here... is that the code for the DLL? How do I test the component? Thanks.
Go to the top of the page
+Quote Post
musikomaniak
post Apr 25 2014, 17:56
Post #42





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



QUOTE (eahm @ Apr 25 2014, 16:40) *
Sorry not much of a programmer here... is that the code for the DLL? How do I test the component? Thanks.

You can find instructions in first post :
QUOTE
How to install:
You should first install Wsh plugin 1.5.6. ,
then download youtube buttons: https://www.mediafire.com/?x4n40mh48lpn183
put 'image' folder in foobar profile folder.
After that open new wsh panel and paste this script: http://pastebin.com/xadsrCdB
Go to the top of the page
+Quote Post
WilB
post Apr 25 2014, 18:02
Post #43





Group: Members
Posts: 314
Joined: 20-July 06
Member No.: 33113



QUOTE (WilB @ Apr 3 2014, 17:36) *
I will let you have a script in due course.


@mire777 As promised my take on this is now available here. The radio mode is driven by echonest, but it also has an album mode driven by various sources. See the link for screenshots and more information.

This post has been edited by WilB: Apr 25 2014, 18:12
Go to the top of the page
+Quote Post
mire777
post Apr 26 2014, 01:06
Post #44





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



QUOTE (WilB @ Apr 25 2014, 19:02) *
QUOTE (WilB @ Apr 3 2014, 17:36) *
I will let you have a script in due course.


@mire777 As promised my take on this is now available here. The radio mode is driven by echonest, but it also has an album mode driven by various sources. See the link for screenshots and more information.


Thanks, i did quick test, and i can say it works great. I test 'similar artist', and my conclusion is that both metod's works in same way.
Probably echonest use last.fm for search..
I like your 'album manager', would like that this be shown in popup menu, but not in panel itself.
Also i like button smile.gif .
Anyway it looks great, i give this a try.

QUOTE (eahm @ Apr 25 2014, 16:40) *
Sorry not much of a programmer here... is that the code for the DLL? How do I test the component? Thanks.


It use 2 components, install this:
-WSH panel mode: https://code.google.com/p/foo-wsh-panel-mod/downloads/list
-Foo_youtube: http://www.hydrogenaudio.org/forums/index....4379&st=175

Then uncheck ''safe mode'' from foobar preferences - for wsh panel.
Download youtube buttons: http://www.mediafire.com/download/x4n40mh48lpn183/image.rar
Put folder 'image' in foobar main(profile) folder.
Then make new panel, right click> wsh panel mod.
Paste this script: http://pastebin.com/G76MuFjS

Or you can try this from WilB. >link

This post has been edited by mire777: Apr 26 2014, 01:30
Go to the top of the page
+Quote Post
mire777
post Apr 27 2014, 20:21
Post #45





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



New version: Foobar Youtube Radio 0.0.8.
http://pastebin.com/uxGmjCyK

Changes:
-Fixed small bugs from previous ver..

I think that script is now complete.
Just to clean code, and fix some things with genre.

If you have some suggestions or idea, what to add next, will be glad to hear you..
I'm out of ideas now smile.gif

This post has been edited by mire777: Apr 27 2014, 20:41
Go to the top of the page
+Quote Post
mire777
post Apr 29 2014, 10:04
Post #46





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



New version: Foobar Youtube Radio 0.0.9.
http://pastebin.com/PMgQDDiE

Changes:
Added track naming.
-requirements - latest- foo_youtube.dll


Foo_youtube renames video in format %artist% - %title%.
But sometimes, youtube tracks has different name format (in that case tracks can't be tagged),
Now tracks are renamed according to the search details from last.fm.
Every video will be properly tagged in format: %artist% - %title% (and you will always have biography and lyrics) , even if youtube has different or incorrect name for video, script will use last.fm info to tag tracks.

This post has been edited by mire777: Apr 29 2014, 10:14
Go to the top of the page
+Quote Post
mire777
post May 2 2014, 14:02
Post #47





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



New version: Foobar Youtube Radio 0.0.10.
http://pastebin.com/7wrCtfgD

Changes:
-Fixed genre

Thanks Marc2003 for helping to fix this.

*Youtube Radio now will play real genre(support all last.fm genres).
You can set hotness for 'genre' up to 100. In ''properties>YT Tag''.
Default is 27- which will play most popular artist.

Go to the top of the page
+Quote Post
WilB
post May 2 2014, 17:08
Post #48





Group: Members
Posts: 314
Joined: 20-July 06
Member No.: 33113



QUOTE (mire777 @ Apr 29 2014, 09:04) *
New version: Foobar Youtube Radio 0.0.9. Changes: Added track naming.


Yes the track naming, originally in YouTube Track Manager, is a nice addition. You have The vern and I and especially The vern to thank for persuading 3dyd to add it and of course a big thanks to 3dyd for implementing it. It seems to work fine in Foobar Youtube Radio.

I had a go at using last.fm as a radio source because, in particular, I wanted the last.fm tag/top tracks api methods and because the api methods ought to be faster than the trawling through last.fm web pages method. As you have not used the api methods, and didn't seem to want to do it that way, I went ahead. Having done the last.fm tag/top tracks method it was easy to extend it to other types.

YouTube Track Manager now offers a radio mode with last.fm as the source with artist, genre, similar artists and tags radio. In tag mode any last.fm tag or top tag can be used to search for a selection of tracks. This works with genres, e.g. rock, or years e.g. 2013, and other tag types. These implementations use the last.fm api. The last.fm mode offers artist variety and song hotness support analogous to that originally found in YouTube Track Manager with echonest as the source.

Echonest is still present as a radio source. The two sources complement each other and I would not say that one is better than the other. There are differences between the two especially in regard to the artists present/absent in similar artists mode, presumably reflecting differences in the data sources. Two radio sources are also advantageous if one server is slow or not available.

The menu in YouTube Track Manager is improved with song hotness and artist variety now on the menu rather than just being configurable in properties. Additionally, in button mode the name of the current radio station is present. Both button and panel modes along with the album manager are still present. There are quite a lot of new additions, so please report any bugs.

Download and screenshots: New version YouTube Track Manager 0.3 beta

Go to the top of the page
+Quote Post
mire777
post May 2 2014, 23:57
Post #49





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



QUOTE (WilB @ May 2 2014, 18:08) *
Yes the track naming, originally in YouTube Track Manager, is a nice addition. You have The vern and I and especially The vern to thank for persuading 3dyd to add it and of course a big thanks to 3dyd for implementing it. It seems to work fine in Foobar Youtube Radio.


Yes i noted that you use 'track naming' in your script, i also want to thank You, Vern and 3dyd for implementing this.
I also add this in mine script, think that 'youtube radio' now works in same way as last.fm radio, when naming tracks.

QUOTE (WilB @ May 2 2014, 18:08) *
I had a go at using last.fm as a radio source because, in particular, I wanted the last.fm tag/top tracks api methods and because the api methods ought to be faster than the trawling through last.fm web pages method. As you have not used the api methods, and didn't seem to want to do it that way, I went ahead. Having done the last.fm tag/top tracks method it was easy to extend it to other types.


I think that i will not use API, because all things that they offer trough API service, already exist on web pages.
API today works, but what will be in a few years, nobody knows..
We were witnesses that last.fm 'turn off' some API metods,when they want- and if they want, they even didnt inform developers about this.
This is problem with ''foo_uie_biography'' , ''foo_lastfm_radio'' and other.., these components doesn't work now because API.
I think that last.fm API is not stable..
I'm suspicious about echonest API too..
Maybe in future echonest will, require payment, for what they offer.
So i decided to use html instead of API.
At least html might be available always, and you didnt have limit.

*I think that both metods should be available html and API metod for 'Foobar Youtube Radio'. So if one doesn't work for some years, other will.
I want to change main post, to place both script mine and yours there, if you agree. But didn't know how to do that.
I write moderator. But not recieved answer yet.

About speed, my script is a little slower, but i didnt care about this, as i see, it's fast enough.
Next track is always loaded after 5-11sec.

QUOTE (WilB @ May 2 2014, 18:08) *
Echonest is still present as a radio source. The two sources complement each other and I would not say that one is better than the other. There are differences between the two especially in regard to the artists present/absent in similar artists mode, presumably reflecting differences in the data sources. Two radio sources are also advantageous if one server is slow or not available.


I didn't test your new version yet, but as i see from previous, there are differences in both metods, as you sad: 'present/absent' some artist.
I think that last.fm offers more variety for similar artist. So i think that this mode is better.

*What should be done next, is to suppress add-processing window to apear..

One question, did you have, Youtube_Track_Manager version for WSH 1.4.2. , because i use that ver?
I was modified previous ver. for my WSH but now i must to do this again for latest.

This post has been edited by mire777: May 3 2014, 00:17
Go to the top of the page
+Quote Post
musikomaniak
post May 3 2014, 07:34
Post #50





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



With Youtube track manager : "Search for similar artist / Open artist and similar artists" search results are quite good. Best than with "same artist station" of Youtube Radio.
My idiot question of the day: why do you call it "Youtube RADIO"?
For me radio is ...a radio station. I'm confused in my playlists of web/stream radios and youtube radios.
Go to the top of the page
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 18:20