Commit Graph

71 Commits

Author SHA1 Message Date
Leah ab04b91bff
webmusic.js: prevent default action for keydown events 2021-03-13 02:16:35 +01:00
Leah 7d750777ec
webmusic.js: check for playable content 2021-03-08 14:06:06 +01:00
Leah bb01d955af
webmusic.js: hide selector when track selected 2021-03-08 13:35:35 +01:00
Isabelle 6a8708bcf8 webmusic.js: ignore keyboard controls if ctrl or alt is pressed 2021-03-07 17:53:51 +01:00
Isabelle acac39a90c webmusic.js: seeking in track with number keys 2021-03-07 17:53:46 +01:00
Leah d9bed3ac47 webmusic.js: use single quotes everywhere 2021-03-07 17:12:07 +01:00
Leah db8b55cadc webmusic.js: use arrow functions everywhere 2021-03-07 17:12:01 +01:00
Leah b59a5633f0 webmusic.js: use const for audioplayer and variable element in function playSong 2021-03-07 17:11:53 +01:00
Leah faeb30325f webmusic.js: use strict mode 2021-03-07 16:58:09 +01:00
Leah 0d789a5e11 webmusic.js: add classes needed for previous 2 commits 2021-03-07 16:48:09 +01:00
Leah e5ea274135 webmusic.js: use classes for buttons 2021-03-07 16:47:32 +01:00
Leah 6d0e9c999d webmusic.js: navigating through files/folders with arrowkeys/enter 2021-03-07 16:47:24 +01:00
Leah 155e7c1bbb webmusic.js: removed debug prints, better player handling 2021-03-07 16:10:53 +01:00
Leah 4b6e69d4c1 webmusic.js: bind to audioplayer-events just once 2021-03-07 15:48:23 +01:00
Leah cef0e6b625 webmusic.js: renamed gstate to playerState 2021-03-07 15:23:39 +01:00
Leah edd16ecb24 webmusic.js: renamed setState to setPlayerState and updateState to updatePlayerState 2021-03-07 15:17:29 +01:00
Leah b76f8c4af3 webmusic.css: replaced spaces with tabs 2021-03-07 15:08:00 +01:00
Leah 05ff2feabf needed changes on template and css to make previous commit work 2021-03-07 15:06:56 +01:00
Leah 94ed0d208d webmusic.js: refactor continuous- and repeat-button handling 2021-03-07 15:03:03 +01:00
Leah 1cf5c13e2b webmusic.js: general code improvements 2021-03-07 14:11:44 +01:00
Leah 6a9dd5b051 webmusic.js: rename variable 'sound' to 'audioPlayer' 2021-03-07 13:42:31 +01:00
Leah 599b1ef413 remove howler.core.js 2021-03-07 13:42:15 +01:00
Leah 7a20b78450 webmusic.js: replace howler with the native Audio() element 2021-03-07 13:39:05 +01:00
Leah 5b9d62eac2 webmusic.js: set onclick-event on state element just once 2021-03-07 01:25:48 +01:00
Leah 4db20d159a webmusic.js: skip folders 2021-03-07 01:14:16 +01:00
Leah 39f8df6ae9 needed changes on template to make previous commit work 2021-03-06 23:40:32 +01:00
Leah 9f90eed214 webmusic.js: navigate through files more smartly 2021-03-06 23:40:22 +01:00
Leah 822996211f webmusic.js: code improovements 2021-03-06 23:40:15 +01:00
Leah 81b67db9a1 webmusic.js: replace spaces with tabs 2021-03-06 23:40:00 +01:00
Leah e19f06a9d0 webmusic.js: replace ifs with switch 2021-03-06 23:39:55 +01:00
Leah 0000568e2b
new key-combo: ESC for goto parent folder (#4)
Merge branch 'master' of destiny.zotan.network:ctucx/webmusic

click on back element instead of window.location override

add id to back button, use list elements

Merge branch 'master' into master

new key-combo: ESC for goto parent folder

Co-authored-by: Leah (ctucx) <leah@ctu.cx>
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/4
Co-Authored-By: Leah <leah@antifa.jetzt>
Co-Committed-By: Leah <leah@antifa.jetzt>
2021-03-06 14:47:36 +01:00
Laura Hausmann e4d9bed6be
Merge pull request 'oopsie: add function that i forgot to commit' (#3) from ctucx/webmusic:master into master, fixes #2
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/3
2021-03-06 00:10:13 +01:00
Leah 84df2966e1 oopsie: add function that i forgot to commit 2021-03-05 23:11:14 +01:00
Laura Hausmann 86abe310d3
Merge pull request 'A few improvements ;)' (#1) from ctucx/webmusic:master into master
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/1
2021-03-05 23:05:46 +01:00
Leah f9c08f2948 Add new key-commands: alias space with p, seeking with arrowkeys left/right, jumping between tracks with arrowkey up/down 2021-03-05 21:06:29 +01:00
Leah 6731aebfaa replace deprecated keypress event with onkeyup 2021-03-05 21:05:59 +01:00
Laura Hausmann 7c208f5d3e
fix oopsie 2020-12-21 21:47:08 +01:00
Laura Hausmann e1992cfd82
fix style 2020-12-21 21:31:18 +01:00
Laura Hausmann 4af262a28e
fix style 2020-12-21 21:29:41 +01:00
Laura Hausmann f81a0f8452
fix style 2020-12-21 21:29:23 +01:00
Laura Hausmann ae5557998d
fix style 2020-12-21 21:28:07 +01:00
Laura Hausmann 56c9893e95
fix style, ew 2020-12-21 20:59:49 +01:00
Laura Hausmann b9794110cd
lyrics support, code cleanup 2020-12-21 20:43:26 +01:00
Laura Hausmann 193cc39ce2
update to net50 2020-12-21 16:56:20 +01:00
Laura Hausmann c8ad99cd79
fix 2020-10-18 23:11:38 +02:00
Laura Hausmann 92c834f88c
fix 2020-10-18 23:07:16 +02:00
Laura Hausmann 4c69a0c287
Rename UI elements 2020-08-19 03:09:09 +02:00
Laura Hausmann 8b5eb31a97
Beautify URLs 2020-08-19 03:07:21 +02:00
Laura Hausmann 84746b226b
Add dedicated m3u page for nginx rewrite rules 2020-08-19 03:06:14 +02:00
Laura Hausmann 4e21eac397 fix manifest 2020-08-14 03:10:28 +02:00