Fabian Würfl
432aaa856c
Move config object to variables.py
...
- Initialized in main.py
- This way the configuration is available for all modules
2018-05-26 10:56:23 +02:00
Fabian Würfl
07234fb640
Revert program description change
2018-05-26 10:53:22 +02:00
Fabian Würfl
e62fc7bdb0
Add optional command line option for config file
...
Implements #28
2018-05-24 22:13:08 +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
adfdb6f06c
Ignore non-audio/video files
2018-05-21 12:47:25 +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
36027414d8
Fix variable referencing bug in Dir()
2018-05-20 13:25: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
Fabian Würfl
fa5495a341
Add !queue command to show next items in the queue
2018-05-18 23:05:38 +02:00
Fabian Würfl
53b35df4e4
Put files in queue, match tracks case insensitive
2018-05-18 22:52:40 +02:00
Fabian Würfl
dd01c8fc10
Strip leading and trailing whitespace from commands
2018-05-18 22:51:55 +02:00
Fabian Würfl
64988847e4
Add requirements.txt
2018-05-18 21:39:04 +02:00
Fabian Würfl
3c2bc37a5d
Fix help message
2018-05-18 21:36:14 +02:00
Fabian Würfl
7910f23d0d
Support playback of local files
...
- Recursive listing of available files
- Protected against path traversal attacks
- Does not follow symlinks
- Possibility to ignore directories or files with specific names
- If no exact match for the requested track can be found, the bot plays
the track with the best match
- If multiple tracks match the user gets a message listing all
candidates
2018-05-18 21:31:52 +02:00
Fabian Würfl
4ae9c1cdb7
wip
2018-05-18 17:49:29 +02:00