A new music player built around Python and GTK
Go to file
Anna Schumaker 6762916899 db: Give System Playlists knowledge about their Tracks
I need to do something slightly different for each Playlist.

* Collection: I load tracks from the collection_view, which filters
      tracks to those where the library is enabled but not deleting.
* Favorite Tracks: I load tracks from the favorites_view, which filters
      tracks based on the tracks.favorite and library.deleting column.
* Most Played Tracks: I load tracks with a playcount greater than the
      average playcount of all tracks (rounded up to the nearest integer).
* New Tracks: I load tracks that have been added within the last week.
* Previous Tracks: I load tracks that have been played since startup
      using the system_tracks table.  I take care to clear these entries
      in the table during startup.
* Queued Tracks: Load tracks from the user_tracks table.
* Unplayed Tracks: I load tracks with a playcount equal to 0 and remove
      when they are played.
* User-Defined Playlists: Load tracks from the track_playlist_link
      table.

Additionally, I implement move_track_up() and move_track_down() support
for user playlists and queued tracks.

Finally, I update the have-next-track property to take into account if
the Collection has tracks too.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2023-05-10 17:31:33 -04:00
audio audio: Use the new match / case statement in scale.py:format_value() 2021-12-28 17:24:09 -05:00
aur@405e47e021 Emmental 2.10 AUR Commit 2022-02-25 13:34:26 -05:00
data lib: Replace version.DEBUG with the __debug__ constant 2021-12-26 13:18:24 -05:00
db db: Fix track_adjusts_current() when the track has been removed 2022-02-22 10:08:34 -05:00
emmental db: Give System Playlists knowledge about their Tracks 2023-05-10 17:31:33 -04:00
icons/scalable sidebar: Create a Section for Decades 2023-04-12 15:06:58 -04:00
lib Emmental 2.10 2022-02-25 13:32:32 -05:00
mpris-spec@51e5848f9f mpris2: Add an Mpris2 DBus Connection 2023-04-12 10:41:42 -04:00
playlist playlist: Don't leave the Subtitle column blank 2022-01-10 11:36:42 -05:00
scanner scanner: Fix scanner.update_library() function 2021-12-28 15:50:11 -05:00
sidebar playlist: Give the playlist panel an add_selected_tracks() function 2021-12-09 19:25:16 -05:00
tests db: Give System Playlists knowledge about their Tracks 2023-05-10 17:31:33 -04:00
tools gsetup: Load a Gio Resource with our application icons 2023-03-07 11:19:29 -05:00
ui Implement the Gtk.Application instance in emmental.py 2021-12-28 15:49:50 -05:00
.debug Rename the debug file to .debug 2021-07-26 14:29:40 -04:00
.gitignore mpris2: Add an Mpris2 DBus Connection 2023-04-12 10:41:42 -04:00
.gitmodules mpris2: Add an Mpris2 DBus Connection 2023-04-12 10:41:42 -04:00
LICENSE Initial commit 2019-01-24 09:35:41 -05:00
Makefile mpris2: Add a Player object 2023-04-12 10:41:42 -04:00
README.md Initial commit 2019-01-24 09:35:41 -05:00
emmental.py scanner: Fix scanner.update_library() function 2021-12-28 15:50:11 -05:00
emmental3.py emmental3.py: Start Emmental 3.0 2023-03-07 11:18:46 -05:00
pytest.ini emmental3.py: Start Emmental 3.0 2023-03-07 11:18:46 -05:00

README.md

emmental

A new music player built around Python and GTK