52 Commits

Author SHA1 Message Date
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
Franz A. Steffek
490d84fc18 Use unix timestamps in playlist
- Avoid sending a datetime object to the user
2018-06-02 14:16:18 +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
Franz A. Steffek
7bcfdfcbe9 Fixes #45: Error when deleting from playlist [wi]
A server error occured when an playlist item was deleted via the
web interface.
2018-05-30 10:47:15 +02:00
Fabian Würfl
73c69fc013
Merge pull request #41 from BafDyce/config-param
Add optional command line option for config file
2018-05-29 20:58:40 +02:00
Fabian Würfl
e668f82834
Update readme (#42)
* Update readme

* Incorporate review feedback
2018-05-27 11:16:20 +02:00
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
be6b4d4088
Merge pull request #5 from BafDyce/directory-listing-fixes
[Web Interface] Fixed some stuff which I broke
2018-05-21 14:02:23 +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
1ef1207d80
Merge pull request #4 from BafDyce/directory-listing-fixes
Directory listing fixes
2018-05-21 12:49:32 +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
6beed76ba5
Merge pull request #3 from BafDyce/fix-html-injection
[Web Interface] Fix HTML injection via "currently playing"
2018-05-21 11:25:35 +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
f557ca9a14
Merge pull request #2 from BafDyce/fix-now-playing
Fix "now playing" feature
2018-05-21 00:01:12 +02:00
Fabian Würfl
b3dad1be99 Fix "now playing" feature 2018-05-20 23:59:57 +02:00
Fabian Würfl
310b27c6b8
Merge pull request #1 from BafDyce/upload-download
[Web Interface] Fix & enhance upload/download functionality
2018-05-20 23:07:30 +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
azlux
ad378a586c New feature 2018-05-17 23:55:42 +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
4f31a99374 Update README.md 2017-01-06 16:02:53 +01:00
slipenbois
3f243bdc7b Update README.md 2017-01-05 18:03:02 +01:00
slipenbois
cf3ad0fa9d Update README.md 2017-01-05 18:01:25 +01:00
azlux
feb6e167c6 space allowed 2017-01-02 23:01:52 +01:00
azlux
8d299de6f7 avoid error when delete usic 2016-12-24 17:09:56 +01:00
azlux
1d7fa3e473 First commit with working stuff
First push, no css for now
2016-12-23 14:19:58 +01:00
azlux
4716cbb46f pymumble submodule added 2016-12-23 13:39:00 +01:00
azlux
a1db1e5958 Merge pull request #1 from Lindemark/master
Making english readme
2016-12-18 22:56:05 +01:00
Till Lindemark
fdb85954d9 Making english readme more english 2016-12-18 18:56:31 +01:00
azlux
26548b19f4 FR and EN version 2016-12-13 00:02:57 +01:00
slipenbois
84a905bfb9 Update README.md 2016-12-12 23:17:08 +01:00