45 Commits

Author SHA1 Message Date
Terry Geng
f931ae7d28 fix: util failed on some strange encoded files 2020-03-08 15:08:46 +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
659fab48b4 feat: add automode into the webinterface #91 2020-03-07 15:22:50 +08:00
Terry Geng
7800bd3639 fix: random will not delete current song. changed one-shot icon.#79 2020-02-27 09:59:26 +08:00
Terry Geng
45f6923534 feat: playback mode selection in the web interface. 2020-02-27 00:41:16 +08:00
Azlux
c6fdf88ee2 relatif link 2020-02-25 01:13:32 +01: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
Terry Geng
f52b5dc34d beautified radio display, and refresh playlist once web interface is loaded 2020-02-06 10:24:50 +08:00
Terry Geng
56036d8736 web interface support update multiple files at a time 2020-02-05 17:41:02 +08:00
Terry Geng
f5ca09716b web interface add ajax feature 2020-02-05 15:25:38 +08:00
Terry Geng
66bf4d94a1 beautify 2020-02-05 10:42:40 +08:00
Terry Geng
011c0a8567 web interface beautify, add file path check 2020-02-05 10:34:33 +08:00
Terry Geng
c25fad8be0 web interface add delete file function, debug 2020-02-05 10:14:56 +08:00
Terry Geng
a4128e1dc9 fix web interface bug 2020-02-05 09:56:37 +08:00
Terry Geng
1b13b0d34d fix style 2020-02-05 08:58:25 +08:00
Terry Geng
e6164d4d2f added volume control for the web interface, and password protection 2020-02-05 00:17:25 +08:00
Terry Geng
abd5eb8e95 beautify and enhance web interface, debug 2020-02-04 23:30:56 +08:00
Terry Geng
a8517f0c9f beautify web interface, add album picture display, play/pause and play
specific file fecture in the web interface.
2020-02-04 18:09:04 +08:00
神楽坂·喵
ea5dcc60ae fix filename 2019-11-22 11:12:44 +08:00
神楽坂·喵
cddf252db9 impl multiCollapse and fileupload 2019-11-22 10:51:23 +08:00
神楽坂·喵
6701f86390 modify web ui 2019-11-21 17:59:37 +08:00
Azlux
2c1e1966ba fonctionnal web interface 2018-11-17 17:17:40 +01:00
Fabian Würfl
9215d993c6
Merge branch 'uif' into fix-HTTP-500-on-playlist-delete 2018-06-02 15:54:32 +02:00
Franz A. Steffek
5da246f24f Compare timestamps when deleting from playlist
Comparing only the timestamps when deleting an item from the
playlist, should remove it faster.
2018-06-02 14:27:18 +02:00
Franz A. Steffek
08ea59e759 Display only song title/filename in the playlist 2018-06-02 14:25:19 +02:00
Fabian Würfl
be8ee41e2a Merge upstream changes 2018-06-01 17:20:25 +02:00
azlux
7057252420 Lot of new features
Web interface almost ready, better bot
2018-05-31 22:39:42 +02:00
Franz A. Steffek
1e28ceded5 Fix #47: Delete the correct item in playlist [wi]
Recording information, when an item was added to the playlist
makes it possible to remove the correct item in playlist, in case
duplicate items in playlist exists.
2018-05-30 18:37:18 +02:00
Fabian Würfl
ef32c010af [Web Interface] Fixed some stuff which I broke 2018-05-21 13:56:03 +02:00
Fabian Würfl
f45aa6c712 [Web Interface] Fix directory listing
- fixes not displaying files of top level directory
- fixes duplicate sub-directory listings
2018-05-21 12:29:05 +02:00
Fabian Würfl
d858c950ad [Web Interface] Fix HTML injection via "currently playing"
- Would have been exploitable with malicious titles in youtube, etc.
2018-05-21 11:19:15 +02:00
Fabian Würfl
b3dad1be99 Fix "now playing" feature 2018-05-20 23:59:57 +02:00
Fabian Würfl
983d3b5a11 Small cleanup changes 2018-05-20 23:03:08 +02:00
Fabian Würfl
1e80ab2c0c Add button to download entire music library 2018-05-20 22:52:08 +02:00
Fabian Würfl
b0137b2db6 Implement download functionality
- directories are served as a zip-file
2018-05-20 22:41:35 +02:00
Fabian Würfl
74ae51f65c Add download buttons to subdirectory entries 2018-05-20 20:32:05 +02:00
Fabian Würfl
de96175c18 Add download button for each file
- This commit also introduces some CSS to place the buttons/forms next
to each other
2018-05-20 20:10:38 +02:00
Fabian Würfl
f3813777b7 Allow uploading files to existing/new folders 2018-05-20 16:05:41 +02:00
Fabian Würfl
c770b01370 Fix formatting issues in web interface 2018-05-20 13:37:51 +02:00
Fabian Würfl
db51c7c4c7 interface: Don't show download/upload section; Make tracks searchable 2018-05-19 22:48:48 +02:00
Fabian Würfl
85f90e4e44 Improve web interface (+ other small changes)
- Web Interface shows folders recursively
- Add command line options for web interface (--wi-port, --wi-addr)
- Move command line option parsing to main
- Move shared code to utils.py
- Fix some issues with web interface
- Fix other small things
2018-05-19 22:34:56 +02:00
azlux
54068a151e Proxy, Upload
Proxy paramter if behinf nginx
Upload can be done into a folder directly from the webpage
2017-01-26 00:30:43 +01:00
azlux
feb6e167c6 space allowed 2017-01-02 23:01:52 +01:00
azlux
1d7fa3e473 First commit with working stuff
First push, no css for now
2016-12-23 14:19:58 +01:00