Hellsblade wrote: 
> 
> Have to work on the output though;
> :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2
> artist Massive Attack :Album: 08:00:27:6c:e1:a2 album Spirits Of Nature
> 2
> Should be;
> Title: Heat Miser Artists: Massive Attack Album: Spirits Of Nature 2
> 
Following chnage does what you want.


Code:
--------------------
    
  
  -- Write out results in a one line
  
  curtitle  = curtitle:sub(25,-1)
  curartist = curartist:sub(26,-1)
  curalbum  = curalbum:sub(25,-1)
  
  f:write("Title:" .. curtitle .. " Artists: " .. curartist .. " Album: " .. 
curalbum )
  f:flush()
  f:close()
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115989

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to