topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 2:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: New C# FARR Plugin: FARRTunes - iTunes control plugin  (Read 31961 times)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
New C# FARR Plugin: FARRTunes - iTunes control plugin
« on: December 28, 2007, 12:18 PM »
Hey all!
For all you music listeners and iTunes users.

Download link (please unpack it to your "FARR\Plugins\FARRTunes\" directory):
http://vitalyb.dcmem...RTunes/FARRTunes.zip

The full source code of this plugin can be found as part of the C# SDK, here:
https://www.donation...ndex.php?topic=10992

A suggestion for a huge usability boost:
Make a new FARR HotKey named iTunes and assign it a combination like WinKey+I, make it execute "tns current"
You can also create a direct command to any other important feature, like the lyrics or song search.

Since it is quite a complex plug-in bugs are very expected. Please post on the thread if you have any trouble.
I'll be also glad to hear of your general experience with the plug-in.

Version History
  • 1.1 Fixed the bug Mouser mentioned, should load fine now
  • 1.0 Initial release

Features
  • See the current song info
  • Play/Pause/Next/Previous
  • Search a playlist and start the one you want
  • Search for any song and play it
  • See the current playing song lyrics
  • Rate the current playing song

Future features
  • Command to show all songs in current playlist to choose from
  • Option to not start itunes until the plugin is first triggered (right now it launches itunes as soon as plugin/farr is started)
  • Leave the farr window showing the current song after changing songs - That way you can see what is the next songs

Screenshots

Main screen
Screenshot - 28_12_2007 , 19_49_58.png

Song search
Screenshot - 28_12_2007 , 19_50_38.png

Playlists search
Screenshot - 28_12_2007 , 19_53_22.png

Current song options
Screenshot - 28_12_2007 , 19_53_30.png

Rate song
Screenshot - 28_12_2007 , 19_53_37.png

Song lyrics
Screenshot - 28_12_2007 , 19_54_06.png
« Last Edit: December 28, 2007, 05:14 PM by vitalyb »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #1 on: December 28, 2007, 12:19 PM »
oh
my
god
 :o

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #2 on: December 28, 2007, 12:34 PM »
amazing !
too bad i'm using winamp  :D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #3 on: December 28, 2007, 01:09 PM »
bug report: didn't seem to actually load into farr (not in plugin list).

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #4 on: December 28, 2007, 02:59 PM »
incredible...... amazing...... i'm missing the words now

congratulations, vitalyb!
When will you start using winamp? :)

Is the source code available? Maybe someone could adapt it ;)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #5 on: December 28, 2007, 04:13 PM »
Thanks! :)

Yes, it is open source and I'll upload it soon with the next version of C# SDK.
And yes, someone most definitely can adapt it to WinAmp, it shouldn't be TOO hard too.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #6 on: December 28, 2007, 04:46 PM »
Latest version i tried from vitalyb worked like a charm (not sure if he's uploaded it yet to the link above).
it's a beautiful plugin, really wonderful.

Some ideas for future development:
  • 1) command to show all songs in current playlist to choose from.
  • 2) option to not start itunes until the plugin is first triggered (right now it launches itunes as soon as plugin/farr is started)
  • 3) leave the farr window showing the current song after changing songs.

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #7 on: December 28, 2007, 05:15 PM »
All is uploaded and should be working :)

daerid

  • Supporting Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #8 on: October 20, 2008, 05:49 PM »
I don't know if this is still in active development. But I just tried FARRTunes with the latest version of iTunes (8.0.1), and it doesn't work at all :(

f0vela

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #9 on: October 21, 2008, 12:09 AM »
yes it would be cool to know if this could be updated or if there is any chance to make it work. This is the only thing that keeps me from changing from launchy to FARR.... the iTunes plugin.

f0vela

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #10 on: October 21, 2008, 12:18 AM »
this is the error i'm getting:

---------------------------

---------------------------
Error occured while loading plugin "FARRTunesRCW" exception recieved:



System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at FARRTunes.Lists.PlaylistsList..ctor() in C:\Documents and Settings\Vitaly\My Documents\Visual Studio 2005\Projects\FARR Plugins\FARRTunes\ActionList.cs:line 88

   --- End of inner exception stack trace ---

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at FARRTunes.FARRTunes.ReloadActionLists() in C:\Documents and Settings\Vitaly\My Documents\Visual Studio 2005\Projects\FARR Plugins\FARRTunes\FARRTunes.cs:line 86

   at FARRTunes.FARRTunes..ctor() in C:\Documents and Settings\Vitaly\My Documents\Visual Studio 2005\Projects\FARR Plugins\FARRTunes\FARRTunes.cs:line 74

   --- End of inner exception stack trace ---

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

   at System.Reflection.Assembly.CreateInstance(String typeName)

   at FARRPluginRCW.LoadPlugin()
---------------------------
OK   
---------------------------

DrCurl

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: New C# FARR Plugin: FARRTunes - iTunes control plugin
« Reply #11 on: December 02, 2008, 11:21 AM »
Hi,

The plugin does not load on my system. using FARR v2.33.01

Any idea?