While i'm investigating this
i cannot figure out how the 'modified since' syntax works. Could someone spell it out for me?
what would be rad is if you could add a home block to the runeui.js with the out put of this.
@[deleted], could you give me a tip here?
here's my horrible hack/idea
MPC COMMAND = 'mpc find modified-since "2015-01-01" '
// Latest Additions
content += divOpen + '<div id="home-albums" class="home-block' + toggleMPD + '" data-path=" MPC COMMAND " data-browsemode="album"><i class="fa fa-dot-circle-o"></i><h3>Recent Additions</h3>Your latest Albums to the MPD database</div>' + divClose;
Here's what i've been using.
create an m3u of recent modified files. it works but getting to the playlist is kinda clunky via the ui.
find /mnt/MPD/ -regex ".*\.\(mp3\|mp4\|ogg\|flac\)" -mtime -60 -print| sed -e 's%^./%%g' >> /var/lib/mpd/playlists/recent.m3u
The problem with both of these examples is that they have defined dates, we should be able to have the modified date sorted by latest so to be a bit more dynamic. If there was a sort by date in the album/artist list, this would be solved. from what i can see, 'mpc list album' does not give that flexibility.