James, the iTunes Update plugin will have to be changed a bit to work
with latest 7.1 nightly. It's the logTrackToSlimServer function that is
affected and you will need to change this part:


Code:
--------------------
    
  eval {
  
        $trackHandle->set('rating' => $rating);
  
        $trackHandle->update();
  
  };
  
  
--------------------


To something like this:

Code:
--------------------
    
  eval {
        if(UNIVERSAL::can(ref($trackHandle),"persistent")) {
                $trackHandle->persistent->set('rating' => $rating);
                $trackHandle->persistent->update();
        }else { 
                $trackHandle->set('rating' => $rating);
                $trackHandle->update();
        }
  };
  
--------------------


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=39128

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to