cubii wrote: 
> Yeah, another one in the game!
> 
> I am working now on a combination of the two scripts, if a new (unknown)
> card is presented, it creates a playlist with the id of the nfc-tag and
> also writes this into the MusicLibrary.txt.
> So the only missing thing is to fill the playlist with music, which can
> be done within the LMS interface /App.
> 
> 
> No need to use shh or command line...
> 
> The use of playlist is brilliant, would never have thought of that (i
> never use playists for anything, normally i am only listening to full
> Albums or radio)
> 
> Challenges:
> The name of the playlist is only a number (or needs to be adapted via
> Musiclibrary.txt via ssh)
> 
> Will clean my code and upload the next days.
> cubii
> 
> EDIT:
> Have attached the script and the adapted player.py from LMSTools
> (replace it!), because i needed the function of playlist.save:
> 
> > 
Code:
--------------------
  >   >    def playlist_save(self, item):
  > """
  > Play item
  > 
  > :type item: str
  > :param item: link to playable item
  > 
  > """
  > # item = self.quote(item)
  > self.request("playlist save {}".format(item))
  > 
  > 
  > 
--------------------
> > 
> have a good new years eve!
> 3274532746

Cool, I buy it ! I'll give a try this weekend :)
btw, is there a way to change the thread title (my mistake) ? it's very
serious work in here ! ;)


------------------------------------------------------------------------
Bill0t's Profile: http://forums.slimdevices.com/member.php?userid=47550
View this thread: http://forums.slimdevices.com/showthread.php?t=113438

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

Reply via email to