Commit graph

43 commits

Author SHA1 Message Date
Laura Hausmann 9035211012
Fix keyevents for macOS 2021-05-07 12:23:30 +02:00
Leah 035c1648c1
more modern js, more keyboard-controls (#5)
webmusic.js: prevent default action for keydown events

webmusic.js: check for playable content

webmusic.js: hide selector when track selected

webmusic.js: ignore keyboard controls if ctrl or alt is pressed

webmusic.js: seeking in track with number keys

webmusic.js: use single quotes everywhere

webmusic.js: use arrow functions everywhere

webmusic.js: use const for audioplayer and variable element in function playSong

webmusic.js: use strict mode

webmusic.js: add classes needed for previous 2 commits

webmusic.js: use classes for buttons

webmusic.js: navigating through files/folders with arrowkeys/enter

webmusic.js: removed debug prints, better player handling

webmusic.js: bind to audioplayer-events just once

webmusic.js: renamed gstate to playerState

webmusic.js: renamed setState to setPlayerState and updateState to updatePlayerState

webmusic.css: replaced spaces with tabs

needed changes on template and css to make previous commit work

webmusic.js: refactor continuous- and repeat-button handling

webmusic.js: general code improvements

webmusic.js: rename variable 'sound' to 'audioPlayer'

remove howler.core.js

webmusic.js: replace howler with the native Audio() element

webmusic.js: set onclick-event on state element just once

webmusic.js: skip folders

needed changes on template to make previous commit work

webmusic.js: navigate through files more smartly

webmusic.js: code improovements

webmusic.js: replace spaces with tabs

webmusic.js: replace ifs with switch

Co-authored-by: Leah (ctucx) <leah@ctu.cx>
Co-authored-by: Isabelle <hi@f2k1.de>
Co-authored-by: ctucx <c@ctu.cx>
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/5
Co-Authored-By: Leah <leah@ctu.cx>
Co-Committed-By: Leah <leah@ctu.cx>
2021-03-21 18:04:15 +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
Laura Hausmann 51dbdf2fbc fix dotfiles 2020-05-07 11:04:48 +02:00
Laura Hausmann 946172a7f8
Fix CI 2020-03-22 15:40:24 +01:00
Laura Hausmann d7e1a9c363
Bugfix 2020-03-22 14:07:08 +01:00
Laura Hausmann 8c740ae1df Update Framework 2019-12-07 00:37:11 +01:00
Laura Hausmann 1c272a2d3f Update CI 2019-12-07 00:36:47 +01:00
Laura Hausmann 94a83c64f6 upgrade to netcoreapp3.0 2019-12-04 18:56:30 +01:00
Laura Hausmann 75cceddfd7 Fix MIME mappings 2019-11-17 21:52:32 +00:00
Laura Hausmann 02a51820cd
Fix ascii characters 2019-08-14 01:21:45 +02:00
Laura Hausmann 604d60af2b
Fix ascii characters 2019-08-14 01:11:04 +02:00
Laura Hausmann e4e6c5af3d
Fix ascii characters 2019-08-14 01:01:48 +02:00
Laura Hausmann 142e529b4e
Fix ascii characters 2019-08-14 00:26:46 +02:00
Laura Hausmann 46bd835f69
Fix ascii characters; add CI 2019-08-14 00:17:22 +02:00
Laura Hausmann d81f32a6ed
add build script 2019-08-12 23:12:19 +02:00
Laura Hausmann c527cc17aa
Fix plus sign in folder names 2019-08-12 21:25:15 +02:00
Laura Hausmann f46ed4dd15
Alphanumeric sorting instead of numeric sorting 2019-08-12 20:44:56 +02:00
Laura Hausmann f3da04babf
Fix m3u button 2019-08-12 20:44:42 +02:00
Laura Hausmann e613105514
Remove js 2019-08-12 20:25:32 +02:00
Laura Hausmann 928dec02e4
Fix plain view, beautify m3u support 2019-08-12 20:16:33 +02:00
Laura Hausmann 6b061eceef Add README.md 2019-07-06 02:07:41 +00:00
Laura Hausmann 9bfcc4c726 Add LICENSE 2019-07-06 02:06:50 +00:00
Laura d9c776e1d1
Initial commit
fix repeat
added simple keyboard control
add preloading tracks
add plain view ("api")
fix memory leak, add streaming
responsive viewport
Mobile web capable
2019-07-06 03:59:58 +02:00