Friday, May 3, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 413  / 2 Years ago, tue, march 22, 2022, 12:08:32

I want to make a dynamic playlist in amarok (version 2.8.0-0ubuntu3) which plays songs that I haven't heard in a while, for example should it contain only songs that were last played in 2013 or earlier.



This being a fairly straightforward condition I thought there was an easy way to do this, but I haven't found a way and googling the question didn't help much.



What I have tried:




  1. I looked for a search keyword that I could use for this. This Amarok Manual
    says somewhat diffusely that it is possible to search for last modified, but doesn't say how to do that.


  2. I tried to sort the playlist by last played, hoping that that would trick amarok into playing only songs before a certain date if seeded correctly, but unfortunately the last played date of the current song is changed to "just now" just before it ends, sorting it to the top. The next song then played is the one played next to last, so amarok just gets into a loop of the last two songs.


  3. I then changed the number of previous songs in the playlist to 0, hoping that that would automatically delete all songs that were played after the last time the current song was played. This would have of course led to a running off to the "never played" songs, but slowly enough for me to live with that. But it doesn't work, because amarok doesn't delete the songs above the current song.


  4. My current workaround is to fill the playlist with as many songs as possible, sort this by last played, then put all the songs I want into the waiting loop (or whatever this is called in the English version, I mean the option you can select by rightclicking on a song in the playlist), delete the rest, and repeat this process approximately every 7 hours.




Now I'm hoping there's is a less annoying way to achieve this, so: Is there a good way to do this?


More From » music-player

 Answers
1

In the 'Media Sources' panel, go into 'Playlists', then 'Dynamic Playlists'.



Add a new playlist. It will give you one with a criterion (bias) like 'genre:Rock'. Select and edit it.



Change the match type to 'Match meta tag'. This will give you a different set of options below.



Amarok dynamic playlist bias editor



Change the first dropdown ('Simple search') to 'Last Played'. The other two inputs let you do various things such as:




  • Before 1 January 2014 (collection search equivalent = lastplay:<01/01/2014)

  • Older than 200 days (collection search equivalent = lastplay:>200d)



OK that, and double click the playlist to use it.



Note that (as far as I can tell) tracks that have never been played get included if you use the 'before' construct but are not included if you use the 'older than' construct. If you want to include unplayed tracks in the latter case, you need to use an 'Or'/Match Any bias with two sub-biases: the lastplay:>200d one and a playcount:0 one.


[#24590] Tuesday, March 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
eving questions
;