Skip to content

mpdev 1.0

Latest
Compare
Choose a tag to compare
@mbhangui mbhangui released this 30 Jun 13:09
· 43 commits to master since this release
4b371d7

ChangeLog

  • Thu Jun 30 2022 18:32:58 IST Manvendra Bhangui mpdev@indimail.org 1.0-1.1%{?dist}
    Release 1.0 Start 02/03/2020 End 30/06/2022
  • 15/04/2021
  1. Bump Release
  2. player: skip db update if NO_DB_UPDATE is defined and non-zero
  3. mpdplaylist: added --karma option
  4. removed mpdev_maintenaance
  • 16/04/2021
  1. added --options-file feature to take command line arguments from an
    options file
  2. player: upgrade karma as per last_played logic
  3. added license, README, changelogs to doc directory
  • 17/04/2021
  1. mpdplaylist: Fix for space in command line argument values
  • 20/04/2021
  1. added --silent parmeter to minisvc invocation
  2. added debian/source/format
  3. added mpdev_rename man page
  • 22/04/2021
  1. player: skip update of play_count when song is skipped
  2. player: display correct playcount in rompr table
  • 23/04/2021
  1. playpause: fixed end-song, pause-song getting skipped
  2. playpause: use SONG_PLAYED instead of ELAPSED_TIME
  3. renamed SONG_PLAYED to SONG_PLAYED_DURATION
  4. mpdev.c: reset song_played_duration when stopped
  5. playpause: display date in yyyy-mm-dd HH:MM:SS during play/pause
  • 24/04/2021
  1. added new script karma for manipulating song's karma value
  2. added more conditions for downgrade karma
  3. player, playpause: skip percentage calculation when SONG_PLAYED_DURATION
    is not set
  4. mpdev.c: removed unset of SONG_PLAYED_DURATION
  5. mpdev.c: fixes for SONG_PLAYED_DURATION
  6. mpdev.c: add elapsed time to SONG_PLAYED_DURATION if started when a song
    was already playing
  7. player: removed redundant code
  • 25/04/2021
  1. mpdev.c: removed get_play_state() as it had the same function as
    get_status() function
  2. mdev.c: get elapsed time in a single call to get the intial player state
  3. mpdev.c: use DISABLE_SCROBBLE env variable to disable scrobbling
  4. mpdev.c, player: adde code comments
  5. create_service: remove cleanup of /tmp/mpdev as purpose is solved by
    having it as TMPFS
  6. player: added log output for scrobbling
  7. player: sync RompR playcounts with stats.db
  8. player: skip update of last_played when paused to avoid karma getting
    increased
  9. player: refactored update of RompR playcounts
  10. player: fixed value of play counts in logs and RompR update
  • 26/04/2021
  1. mpdev.c: set song_played_duration when calling script for now-playing
  2. player: display initial song position in NewSong
  3. playpause: display song played duration
  4. mpdev.c: increment song_played_duration when prev state is not in pause
    state
  5. player: skip RompR playcount update when song is not fully heard
  • 27/04/2021
  1. mpdev.c: initialize elapsed variable
  • 08/09/2021
  1. fixed usage string/description in mpdev.c and man page
  2. fixed idle handling
  3. added output even with OUTPUT devices passed as env variables. Feature
    request from Markus Gerl
  • 09/09/2021
  1. report OUTPUT changes in env variable OUTPUT_CHANGED
  2. added script 'output'
  3. set env variable VOLUME on startup and on mixer level change
    16/09/2021
  4. mpdev.c: BUGFIX: Fixed player not comining out of do idle loop
  5. mpdev.c: decrement count when PLAYLIST_EVENT is followed by PLAYER_EVENT
  6. player.in: disable UPDATE/INSERT echo statements when NO_DB_UPDATE is set
  7. player.in: sanitize shell input
  • 17/09/2021
  1. mpdev.c: print debug statements for verbose > 1
  • 26/09/2021
  1. create_service: fix ownership of $HOME/.mpdev
  • 28/09/2021
  1. player: fix INSERT statement for extra (last_modified) field added to sticker
    table
  2. player: skip db update for streams
  • 29/09/2021
  1. mpdev_update.c: added last_modified column to sticker table
  • 30/09/2021
  1. karma.in: display karma for current playing song when no options are
    provided
  2. use -noheader option to prevent .sqlitrc settings messing with results
  3. added songi script to display information from stats.db for any music
    file
  • 01/10/2021
  1. mpdev_update.c, songi.in: removed name column from song table in stats db
  • 06/10/2021
  1. karma: fixed sql statements
  • 10/10/2021
  1. player.in: fixed non-skipping of db update for streams
  • 15/10/2021
  1. karma: fixed update not working
  2. songi: formated for better display
  3. karma: set song_uri to current playing song if no options are provided
  • 18/11/2021
  1. player.in: display mysql error
  • 23/12/2021
  1. moc-scrobbler.in: removed use of source command to avoid syntax error
    caused by data in track.current, track.last
  • 16/01/2022
  1. player.in: scrobble only when PLAYER_STATE is play
  • 06/02/2022
  1. mpdplaylist.in: added --incartist, --exlartist option to include/exclude
    comma separated list of artists
  2. use tcpopen, pathexec_run, pathexec_env from libqmail
  • 10/05/2022
  1. karma.in: merged modifications by https://github.com/Plexvol (use getopt)
  • 31/05/2022
  1. skip service creation if daemontools is not installed
  • 20/06/2022
  1. create_services.in, Makefile.am, mpdplaylist.in, romprhist.in,
    transfer_play.in, songi.in: set/use directories set by ./configure
  2. mpdev_update.c: remove extra arguments passed to print_song
  3. player.in, playpause.in: Fixed date syntax for non-gnu date
  4. player.in, playpause.in: use directories set in ./configure
  5. moc-scrobbler.in: use gnu grep for OSX
  • 23/06/2022
  1. Mac OSX port
  2. moc-scrobbler.in: added --love option to love tracks
  3. mpdev service: added lastfm-scrobbler --stop, librefm-scrobbler --stop for
    cleanup
  • 24/06/2022
  1. mpdev service: use relative path for variables directory
  2. moc-scrobbler.in: removed bashishm
  • 25/06/2022
  1. player.in: scrobble direct when track.last is missing
  • 27/06/2022
  1. moc-scrobbler.in: replaced echo -n with printf for consistent behaviour
    under /bin/sh
  • 30/06/2022
  1. Release 1.0