Need of Help

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Need of Help
Smiley
Hi Guys

I have been working on a new feature for offBeat 1.1 and have run into a problem, the example i have attached searches for an artist of your choice and then lists their top 15 songs and the top 15 songs of 15 artists similar to them using last.fm.

My problem is that when you type in for example Pink Floyd everything works fine but when i typed in U2 i found that i get an error you'll see what i mean.

Thanks in Advance, Smiley cooll;


This file is hosted off-site.
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Need of Help
smashapps
When I searched 'Green Day' results from other artists were displayed. You need to program the Output to display items that contain only what the user is searching

Here is an example of what I mean:
Code: Select all
If thisSong.Contains("the same thing as what the user typed") Then
    'NOW you can add the song
End if
Basically do a check before adding the song to the output, make sure the song contains what the user has entered in the search field first.
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Re: Need of Help
Smiley
smashapps wrote:
When I searched 'Green Day' results from other artists were displayed. You need to program the Output to display items that contain only what the user is searching

Here is an example of what I mean:
Code: Select all
If thisSong.Contains("the same thing as what the user typed") Then
    'NOW you can add the song
End if
Basically do a check before adding the song to the output, make sure the song contains what the user has entered in the search field first.
LOL I think you heave misread my post the results for other artists are supposed to show up, the problem is when i search U2 i get an error cooll;
User avatar
Ffenixw0rks
VIP - Donator
VIP - Donator
Posts: 152
Joined: Sun Jun 19, 2011 2:51 pm

Re: Need of Help
Ffenixw0rks
This should be good.
Problem was 404 from last.fm because of HTML entities that were returned in Artists. Also new webclients are not needed, why did you do that? :?
Anyway, here you go.
You do not have the required permissions to view the files attached to this post.
Image
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Need of Help
smashapps
Errr sorry *leaves thread*
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Need of Help
Dummy1912
seems the download has broken??
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
6 posts Page 1 of 1
Return to “Coding Help & Support”