40 Commits

Author SHA1 Message Date
Storm Dragon
de270bc842 Second wave of initial code changes. 2025-06-13 18:53:38 -04:00
Terry Geng
1d97fe654e
fix: URL item duration unit in seconds, bad skip button in floating player 2020-05-18 00:07:56 +08:00
Terry Geng
0b7d0b8465
feat: huge feature: a floating player, with a movable playhead 2020-05-17 11:54:05 +08:00
Terry Geng
7e38c191f6
fix: refine database migration 2020-05-14 23:58:03 +08:00
Terry Geng
40ea744e7f
refactor: move music db into a separated file.
IMPORTANT NOTE:
The default database path has changed. It was database.db, but
now they ARE settings.db and music.db.

Database migration will detect music table in settings.db, and
move it out of settings.db.

To update from old version, you need to
 1. if you use your own db path settings in the command
    line or in configuration.ini, you don't have to change
    anything;
 1. or,if you use default database path, rename database.db
    into settings.db.
2020-05-13 10:43:40 +08:00
Terry Geng
9879bcc7be fix: hot fix: wrong type for tags 2020-04-29 13:37:37 +08:00
Terry Geng
5447a0d132 fix: more on database migration, fixed #134 2020-04-26 09:17:38 +08:00
Terry Geng
09df681ebe feat: database migration function mentioned in #133 2020-04-24 10:41:47 +08:00
Terry Geng
da3f3cd42f fix: path is None error 2020-03-28 21:54:55 +08:00
Terry Geng
ae89782450 fix: replace TRUE with 1 2020-03-22 22:20:11 +08:00
Terry Geng
f65ef64a77 feat: sort library files by date 2020-03-22 22:06:32 +08:00
Terry Geng
e256d50c5c refactor: removed useless files path cache 2020-03-22 21:59:05 +08:00
Terry Geng
190aac37e1 fix: fixed #108 2020-03-22 14:30:56 +08:00
Terry Geng
3fb10905b7 refactor: database logic, add type hints 2020-03-22 14:30:56 +08:00
Terry Geng
a097102b17 fix: serious typo 2020-03-21 09:35:31 +08:00
Terry Geng
64d3baeead fix: update 'recent added' database logic 2020-03-21 09:09:43 +08:00
Terry Geng
4debb567b8 fix: add svg files, continue 2020-03-21 01:16:27 +08:00
Terry Geng
6524212140 fix: radios don't have path 2020-03-21 01:11:10 +08:00
Terry Geng
a6991943c5 fix: add svg files 2020-03-21 01:07:38 +08:00
Terry Geng
589dcdce37 fix: exclude 'info' col in the database 2020-03-21 00:49:37 +08:00
Terry Geng
b455215be4 feat: added special tag 'recent added', fix typo 2020-03-21 00:39:43 +08:00
Terry Geng
51238b191b feat: added special tag 'recent added' 2020-03-21 00:37:12 +08:00
Terry Geng
575d363de3 refactor: new database format 2020-03-21 00:10:30 +08:00
Terry Geng
9a8d6d6ea1 fix: index out of range when rebuild cache 2020-03-20 11:14:27 +08:00
Terry Geng
4e287d6b1b feat: tag editing feature in web interface 2020-03-20 10:35:09 +08:00
Terry Geng
7f29deba01 feat: add delete function 2020-03-20 00:09:07 +08:00
Terry Geng
fb7101a581 FEAT: MUSIC LIBRARY BROSWER 2020-03-19 22:51:32 +08:00
Terry Geng
ca6e613616 fix: error when fetching tags for above 1000 songs #102 2020-03-15 09:08:09 +08:00
Lartza
213a6c084b Cleanup 2020-03-10 23:07:29 +02:00
Lartza
b2ced96ba4 PEP8 2020-03-10 22:22:20 +02:00
Terry Geng
a39199d54d fix: optimize database logic, fixed #93 2020-03-10 09:23:36 +08:00
Terry Geng
22ba308b14 feat: optimized autoplay with Lartz 2020-03-08 21:25:30 +08:00
Terry Geng
f7042db657 feat: 'search' command to search the db, and 'shortlist' to add songs from search result 2020-03-08 16:56:31 +08:00
Terry Geng
32b2875e52 feat: web interface more tag support 2020-03-08 13:52:34 +08:00
Terry Geng
2faa9dc8d3 feat: web interface tag support 2020-03-08 12:53:17 +08:00
Terry Geng
749647aad2 feat: some tags function 2020-03-07 16:07:58 +08:00
Terry Geng
4fce3b956e feat: directory cache 2020-03-07 15:12:22 +08:00
Terry Geng
e70727cfd1 FEAT: AUTOPLAY MODE #91 2020-03-06 16:15:19 +08:00
Terry Geng
665edec684 REFACTOR: MUSIC LIBRARYgit status #91 2020-03-06 15:45:13 +08:00
Terry Geng
97f2326d9b
Add more controls (#71)
* add more ducking command

* fix current music command

* provide more controls, like pause, resume, clear.

* add more controls in the web interface

* refactored and improved:
1. move get_music_tag_info to util, and
2. refined logic related to it.
3. now playlist will check for tag info thus update_music_tag_info is
useless and was removed
4. add "add folder" feature to !file asked in #65,
5. fix bugs related to !file

* truncate file list if too long

* fixed several tiny bugs

* fixed several tiny bugs continue

* fixed several tiny bugs continue continue

* fixed several tiny bugs continue**3

* fixed several tiny bugs continue**4

* added !filematch command to add files that match a regex pattern.

* truncate long message

* fix web interface delete file issue

* refresh after delete file

* add regex to listfile command

* refactored command part, added partial match support for commands

* organized

* added random command

* typo

* typo

* Fixed many bugs.

* Added workaround for azlux/pymumble#44 to fix the memory leak.

* changed logging style.

* fixed bugs related to random and resume

* fix now playing

* fixed issue related to download

* fixed issue related to download 2

* fixed thumbnail issue

* fixed add url problem in web interface

* REFACTORED, turned db.ini into sqlite3 database.

* fixed remove song problem

* fixed radio get title problem. auto download if tmp file is deleted

* fixed current index not loaded from database

* fixed: order of songs loaded from the database

* fixed: some obscure bugs. beautified error of commands

* added a workaround for TerryGeng/botamusique#1.

* beautified

* fixed: channel not loaded in the config

* fixed: auto checked for updates

* fixed: mysterious bug: sometimes "now playing" string cannot be properly
displayed.
The real reason is: do use <br />, do not use <br>. I tried hours to
find out this.

* chore: unified debug messages that refer to music items

* feav: fetch ffmpeg stderr mentioned in #72, reformatted logs.

* fix: async download not working

* fix: async download not working, still

* fix: async download not working, finished

* feat: queue command: ▶current playing item◀

* feat: support more than one command prefix

* chore: added some WARNINGs into default config file to avoid people to touch it.

* refactor: packed all string contants into constants.py, just to avoid people messing it around.

* refactor: required by azlux. Added a configuration.example.ini to keep people away from configuration.default.ini
2020-02-24 19:17:02 +01:00