Gert
47687a5e06
Skip unnecessary MP3 conversion via FFmpeg after audio download
...
Currently, after downloading YouTube videos, FFmpeg is used to convert
the downloaded audio file into MP3 for historic reasons (there was no
database to keep the metadata around, so the ID3 tags in the MP3 file
were necessary to be able to read the metadata later on).
Now that a metadata database exists, this is no longer necessary. This
conversion is also fairly straining for slower CPUs or CPUs that do not
offer the appropriate processor extensions to be able to accelerate this
conversion, such as older ARM devices - in my case an ARMv7 32-bit
device, where the conversion could take over a minute for a fairly
simple 3-minute audio file of keeping a single core maxed out.
This should also result in less latency playing audio files on stronger
processors, though probably less noticeably.
Fixes #205
2020-09-25 20:58:18 +08:00
Terry Geng
9e2e09e5fd
feat: Load language file in lang/ instead of the ini file.
2020-07-12 11:45:51 +08:00
Terry Geng
e84607b8e8
refactor: Rename constants.string into tr.
2020-07-12 11:45:51 +08:00
Félix Fischer
4d834af8cc
Add opus metadata capabilities
2020-07-07 16:39:02 -04:00
Terry Geng
67b72af2de
fix: optimized rescan procedure.
2020-06-01 09:36:58 +08:00
Terry Geng
8f533cdc2d
fix: file scanning not working when startup, fix #163
2020-05-31 21:20:52 +08:00
Terry Geng
d3ed96a81a
fix: index error when changing playmode
2020-05-27 09:21:45 +08:00
Terry Geng
662396bcc5
fix: glitch sound when stopping music
2020-05-22 22:49:05 +08: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
465ab39c7a
fix: rollback to popper.js v1, fix playmode dropdown, and now volume popover can be closed by clicking outside.
2020-05-16 16:52:32 +08:00
Terry Geng
257fff3e92
feat: upload progress bar and error message display for each file, #146
2020-05-16 15:48:11 +08:00
Terry Geng
71e0ede51e
feat: optimized play/resume logic, add fast-forward support within song.
...
fix #153 .
2020-05-15 10:22:44 +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
09df681ebe
feat: database migration function mentioned in #133
2020-04-24 10:41:47 +08:00
Daniel Gunzinger
922ca30697
clone title into keywords in class URLItem so added clips become searchable via the webinterface
2020-04-23 22:16:49 +02:00
Terry Geng
e86b5ca659
refactor: rewrite confusing part
2020-04-08 08:55:58 +08:00
Terry Geng
d32d30b795
fix: fixed #118 , weird threading issue
2020-04-02 18:27:15 +08:00
Terry Geng
34f38d09e6
fix: fixed #117
2020-03-31 10:55:34 +08:00
Terry Geng
a5a8cb230d
Update Readme
2020-03-28 23:27:39 +08:00
Terry Geng
c8d059ced0
fix: update some text
2020-03-28 20:46:21 +08:00
Terry Geng
1732314304
fix: current_index unchanged immediately after stop
2020-03-25 21:35:59 +08:00
Terry Geng
b2e5efec93
refactor: optimized playlist logic
2020-03-25 21:35:59 +08:00
Terry Geng
e256d50c5c
refactor: removed useless files path cache
2020-03-22 21:59:05 +08:00
Terry Geng
21c8e276c9
fix: error if failed to fetch duration from url
2020-03-22 14:50:42 +08:00
Terry Geng
3fb10905b7
refactor: database logic, add type hints
2020-03-22 14:30:56 +08:00
Terry Geng
64d3baeead
fix: update 'recent added' database logic
2020-03-21 09:09:43 +08:00
Terry Geng
a6991943c5
fix: add svg files
2020-03-21 01:07:38 +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
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
3fe64c96c6
fix: error when delete unexisted file
2020-03-19 18:53:15 +08:00
Terry Geng
a2cb955ed8
fix: refresh video metatdata after validation
2020-03-12 18:35:24 +08:00
Terry Geng
3e795fc713
fix: url wasn't cleared after added in the interface
2020-03-11 20:57:42 +08:00
Lartza
213a6c084b
Cleanup
2020-03-10 23:07:29 +02:00
Lartza
b2ced96ba4
PEP8
2020-03-10 22:22:20 +02:00
Lartza
bb126401e2
Handle KeyError for radio title
2020-03-10 16:05:33 +02:00
Terry Geng
0ac9603072
feat: Lartza's urlban idea #91 , fixed private message
2020-03-10 10:14:43 +08:00
Terry Geng
30c481bc24
fix: web interface radio display error, #94
2020-03-10 09:28:34 +08:00
Terry Geng
a39199d54d
fix: optimize database logic, fixed #93
2020-03-10 09:23:36 +08:00
Terry Geng
048da4046b
feat: 'delete' command to remove files from library
2020-03-09 00:02:22 +08:00
Terry Geng
e2f6de5066
fix: radio issue
2020-03-08 23:08:47 +08:00
Terry Geng
22ba308b14
feat: optimized autoplay with Lartz
2020-03-08 21:25:30 +08:00
Terry Geng
091d303729
fix: still one-shot
2020-03-08 19:55:41 +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
45b83af4ba
fix: file metadata not saved when scanning
2020-03-08 15:23:40 +08:00
Terry Geng
f931ae7d28
fix: util failed on some strange encoded files
2020-03-08 15:08:46 +08:00
Terry Geng
f8cfb163ed
feat: add tags, remove tags, play tags, find tags #91
2020-03-08 11:31:34 +08:00