ref: 2a0f83e9911c4b2bda263c18421d9c25258df18c mousikofidi/mousikofidi/mousikofidi.py -rw-r--r-- 46.0 KiB
Clean up style handling

Moved most if not all of the logic about what CSS is rendered into the
python backend.

Now, the only template-side logic is there to conditionally load the
dark theme when light is selected.

The "/css" part of the paths for each theme has been trimmed out and
is now explicit; the prefix is properly computed based on if debug is
True or not and "/css" is a part of that computation.
Point to the ticket, not the wiki
Rename the 'user playlist' to queue, and all the related changes

Additionally, the nav "Playlist" link is now two links; one for all
playlists (if there are any), and another for the user queue.
Let flask handle encoding and decoding of paths in URLs

This change allows for deleting a bit of code, and changing any place
that had anything to do with encoded/unencoded paths.

Now, url_for() is used throughout templates and all url encoding is
done by Flask.  This allows for totally "clean"-looking URLs in more
recent releases of Firefox.
Don't crash when there's no CFG, write a default instead (#102)
Try to display cover art (#8)

Make several assumptions in order to try and show what the album art
is for the particular directory or file.
This is the right way to test that

... this actually fixes #87
Don't change a custom image (#87)
Disable searching

... for now.  It's just too slow to be useful.
Pull searching logic out of the view
Actually disable searching when it's disabled
File searching (#76)

Disabled by default, a search page is now available which searches
every file in a user's collection.

While this is much slower than a db-backed search, it's surprisingly
fast on my very large personal collection.
Move to the current track in a playlist (#83)

Toggled with a checkbox, when an audio track changes the page will
smoothly move to where it is on the list.
Display track length (#80)
Add to playlist "+" on playlist detail page (#64)
Added Birthday logo