Skip to content

Commit b65ecc5

Browse files
committed
Fix --karma option and added new options for --new option
1. fixed --karma for <= and >= options 2. allow <, >, <= and >= options for --new option
1 parent 749ba9b commit b65ecc5

3 files changed

Lines changed: 144 additions & 57 deletions

File tree

doc/ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Release 1.1 Start 30/06/2022 End --/--/----
6161
32. player.in: return db operation 5 times on failure
6262
- 17/11/2025
6363
33. player.in: exit if SONG_URI not set
64+
- 22/11/2025
65+
35. Fix --karma args and added options for --new option
6466

6567
* Thu Jun 30 2022 18:32:58 IST Manvendra Bhangui <mpdev@indimail.org> 1.0-1.1%{?dist}
6668
Release 1.0 Start 02/03/2020 End 30/06/2022

mpdplaylist.1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,18 @@ Load a playlist as defined in ~/.mpdplaylist.options
135135
Load a playlist as defined in ~/.mpdplaylist.new
136136
\fBmpdplaylist\fR --options-file=~/.mpdplaylist.new
137137
138-
List all songs added in the last 3 days
138+
List all songs added 3 days back
139139
\fBmpdplaylist\fR --new=3
140140
141+
List all songs added in the last 3 days. (See the use of escaping '<' to
142+
prevent the shell from using input redirection)
143+
\fBmpdplaylist\fR --new\<=3
144+
145+
List all songs added more than 30 days back (use with caution as this could
146+
be a huge list. See the use of escaping '>' to prevent the shell from using
147+
output redirection)
148+
\fBmpdplaylist\fR --new\>=30
149+
141150
List all songs belonging to \fIHindi\fR genre, having a rting of 6 &
142151
greater (on a scale of 10), from the year 1970 to the year 2000. Sort the
143152
result on the \fIlast_played\fR field in ascendning order and in descending

0 commit comments

Comments
 (0)