2014-03-26, 09:56
But, as your smart playlist already filter latest played songs from 3 weeks, you can use the default script with this smart playlist.
For me, using method=LastPlayed is usefull with a smart playlist with no filters.
For example, having a smart playlist "Rock" and building a widget for displaying last albums played from this playlist.
BTW, could you try this code :
https://www.dropbox.com/s/0cxa6aeqt09gah...stitems.py
Now, Songs smart playlists are handled.
I have make some tests with your smart playlist and it's OK (no need to use method=LastPlayed, use method=Last as your smart playlist already display last played songs ffrom 3 weeks).
But widget will be filled with albums, not songs.
For me, using method=LastPlayed is usefull with a smart playlist with no filters.
For example, having a smart playlist "Rock" and building a widget for displaying last albums played from this playlist.
BTW, could you try this code :
https://www.dropbox.com/s/0cxa6aeqt09gah...stitems.py
Now, Songs smart playlists are handled.
I have make some tests with your smart playlist and it's OK (no need to use method=LastPlayed, use method=Last as your smart playlist already display last played songs ffrom 3 weeks).
But widget will be filled with albums, not songs.