I was hoping to create a meter for performing an iTunes search. Is there any functionality, or is it possible to implement the functionality in NowPlaying.dll that would send a search keyword to iTunes and return the list of songs found?
Also, after a list of songs were returned, there would have to be the ability to send back a command to play a song with a certain title. Do you know if this would be possible? A rough version I could think of off the top of my head is executing "C:\...\iTunes.exe D:\...\song.mp3".
Also, is NowPlaying.dll open source?
Thanks!
It is currently March 28th, 2024, 9:12 pm
NowPlaying iTunes Search
-
- Posts: 4
- Joined: June 18th, 2011, 1:14 am
-
- Posts: 4
- Joined: June 18th, 2011, 1:14 am
Re: NowPlaying iTunes Search
Also, is it possible to get the path to the file that is currently playing in iTunes?
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: NowPlaying iTunes Search
Yeah, simply use PlayerType=FILE.sabrehagen wrote:Also, is it possible to get the path to the file that is currently playing in iTunes?
You can checkout the source for the default Rainmeter distribution from here (instructions). Note that you need a paid version of Visual Studio (e.g. Professional) to build NowPlaying.dll. Everything else can be built on the free version (Visual C++ Express).sabrehagen wrote:Also, is NowPlaying.dll open source?
After a brief look at the iTunes COM interface docs, it seems possible. I have no plan to add this to NowPlaying.dll, as I want to avoid player-specific features (and most other players lack a proper and extensive interface for this kind of stuff). However, I wouldn't mind if something like this were added to iTunesPlugin.dll.sabrehagen wrote:I was hoping to create a meter for performing an iTunes search. Is there any functionality, or is it possible to implement the functionality in NowPlaying.dll that would send a search keyword to iTunes and return the list of songs found?
The iTunes interface docs are available from here (save the file somewhere, right-click -> Properties -> Unblock). What you want is the Search method under IITPlaylist.
-
- Posts: 4
- Joined: June 18th, 2011, 1:14 am
Re: NowPlaying iTunes Search
Thanks poiru, I'll probably take a look at that and see if I can extend the functionality after I finish my exams in two weeks. They seem to be taking away from all the fun things in life!
-
- Posts: 1175
- Joined: June 9th, 2010, 5:56 pm
- Location: Locks heath, UK
Re: NowPlaying iTunes Search
They pay you back for the rest of your life, so keep up the good work for the next couple of weeks...sabrehagen wrote:I finish my exams in two weeks. They seem to be taking away from all the fun things in life!
-
- Posts: 4
- Joined: June 18th, 2011, 1:14 am
Re: NowPlaying iTunes Search
Thanks for the inspiration - I need it!Seahorse wrote: They pay you back for the rest of your life, so keep up the good work for the next couple of weeks...