INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Getting a list of Artists  (Read 1324 times)

simonk

  • Recent member
  • *
  • Posts: 18
Getting a list of Artists
« on: January 08, 2012, 11:43:13 am »

I've writing a vb.net .dll for HomeSeer, I'm doing quite well for a amateur!

I now trying to create a list of unique artists and wondered if there is a easy way of doing this within the SDK without having to cycle through each file and getting the artist name ?

Thanks
Simon
Logged

simonk

  • Recent member
  • *
  • Posts: 18
Re: Getting a list of Artists
« Reply #1 on: March 09, 2012, 11:28:28 am »

Bump...
Logged

Scolex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1116
  • Cheers
Re: Getting a list of Artists
« Reply #2 on: March 09, 2012, 01:56:41 pm »

You can get a list of Artists through the MCWS service.
Code: [Select]
http://localhost:52199/MCWS/v1/Library/Values?Field=Artist&Files=[Media%20Type]=[Audio] (the brackets in the url mess with the forum software so just copy paste it)
You will need to change the 52199 to reflect your media network port if you aren't using the default value.
Logged
Sean
Pages: [1]   Go Up