Ok so i just downloaded iTunes 4.8 which stopped the old Multi-Plugin working so I downloaded the new Multi-Plugin 6.
I dont use many features of the plugin except for the text file with the song data in it.
In the new version of the plug-in this text file is called CurrentTrack.txt instead of CurrentSong.txt, I didnt think this would be too much of a problem and i quickly changed all references to this file in the mIRC script config. However my irc script still didnt work. I took the opportunity to do a rewrite of the script, clean and simple. It follows...
alias npx {
%iTunes.dir = C:Program FilesiTunesCurrentTrack.txt
%artist = $read(%iTunes.dir , 2)
%song = $read(%iTunes.dir , 3)
%album = $read(%iTunes.dir , 4)
%genre = $read(%iTunes.dir , 6)
%year = $read(%iTunes.dir , 15)
%time = $read(%iTunes.dir , 8)
%details = ( $+ %album %genre %year %time $+ )
/say [Now Playing] %artist - %song %details
}In theory this should make the following appear after typing /npx into mIRC
<@Matt> [Now Playing] Blah - Waffle (Yadda yadda Talking 2005 3:42)
however instead this happens
<@Matt> [Now Playing] - ( )
I have tried all sorts to get it to work and I have come to the conclution that its the plug-in's fault making some kind of corrupted text file. Because if i make my own text file and enter data in the exact same layout as the one Multi-Plugin creates then it springs to life.
Is there some kind of fix to get the plugin to make valid text outputs? The old versions worked fine but not this new one.
Matt
Aqua-Soft Forums
