Commit Graph

416 Commits

Author SHA1 Message Date
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
08ea59e759 Display only song title/filename in the playlist 2018-06-02 14:25:19 +02:00
490d84fc18 Use unix timestamps in playlist
- Avoid sending a datetime object to the user
2018-06-02 14:16:18 +02:00
be8ee41e2a Merge upstream changes 2018-06-01 17:20:25 +02:00
b674029f44 adding good version of pymumble 2018-06-01 01:29:53 +02:00
5944ba7709 Removing pymumble 2018-06-01 01:26:08 +02:00
e1b4ef0873 Update pymumble 2018-06-01 01:11:30 +02:00
7d54691979 Better README 2018-06-01 01:08:22 +02:00
0b97dbdad7 Trypo error 2018-06-01 00:52:50 +02:00
7057252420 Lot of new features
Web interface almost ready, better bot
2018-05-31 22:39:42 +02:00
535591c1ff Merge pull request #50 from BafDyce/fix-double-slashes
Remove double slashes from file paths (and other improvements in utils.py)
2018-05-31 10:55:54 +02:00
2533b31bb2 Merge pull request #48 from BafDyce/issue-templates
Create issue templates
2018-05-30 19:20:50 +02:00
f8b2cc4529 utils.py: Remove unnecessary debugging print 2018-05-30 19:17:17 +02:00
32c78544f9 utils.py: Fix not adding files correctly in some edge cases 2018-05-30 19:16:07 +02:00
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
5619f5cb78 Don't print double slashes
Fixes #32
2018-05-30 17:59:32 +02:00
f695f24684 Update issue templates 2018-05-30 17:24:36 +02:00
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
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
e668f82834 Update readme (#42)
* Update readme

* Incorporate review feedback
2018-05-27 11:16:20 +02:00
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
07234fb640 Revert program description change 2018-05-26 10:53:22 +02:00
e62fc7bdb0 Add optional command line option for config file
Implements #28
2018-05-24 22:13:08 +02:00
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
ef32c010af [Web Interface] Fixed some stuff which I broke 2018-05-21 13:56:03 +02:00
1ef1207d80 Merge pull request #4 from BafDyce/directory-listing-fixes
Directory listing fixes
2018-05-21 12:49:32 +02:00
adfdb6f06c Ignore non-audio/video files 2018-05-21 12:47:25 +02:00
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
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
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
f557ca9a14 Merge pull request #2 from BafDyce/fix-now-playing
Fix "now playing" feature
2018-05-21 00:01:12 +02:00
b3dad1be99 Fix "now playing" feature 2018-05-20 23:59:57 +02:00
310b27c6b8 Merge pull request #1 from BafDyce/upload-download
[Web Interface] Fix & enhance upload/download functionality
2018-05-20 23:07:30 +02:00
983d3b5a11 Small cleanup changes 2018-05-20 23:03:08 +02:00
1e80ab2c0c Add button to download entire music library 2018-05-20 22:52:08 +02:00
b0137b2db6 Implement download functionality
- directories are served as a zip-file
2018-05-20 22:41:35 +02:00
74ae51f65c Add download buttons to subdirectory entries 2018-05-20 20:32:05 +02:00
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
f3813777b7 Allow uploading files to existing/new folders 2018-05-20 16:05:41 +02:00
c770b01370 Fix formatting issues in web interface 2018-05-20 13:37:51 +02:00
36027414d8 Fix variable referencing bug in Dir() 2018-05-20 13:25:51 +02:00
db51c7c4c7 interface: Don't show download/upload section; Make tracks searchable 2018-05-19 22:48:48 +02:00
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
fa5495a341 Add !queue command to show next items in the queue 2018-05-18 23:05:38 +02:00
53b35df4e4 Put files in queue, match tracks case insensitive 2018-05-18 22:52:40 +02:00
dd01c8fc10 Strip leading and trailing whitespace from commands 2018-05-18 22:51:55 +02:00
64988847e4 Add requirements.txt 2018-05-18 21:39:04 +02:00
3c2bc37a5d Fix help message 2018-05-18 21:36:14 +02:00
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
6c9dfdc5ad UPDATE
UPDATE and Feature news
2018-05-18 20:21:27 +02:00