libretime/legacy/application
nosbig 203c927554
feat: add flac support to Web player (#3128)
### Description

Added support for previewing FLAC files in the web interface, provided
in #509 by marmotte32 on Github in the comments for this issue.

I have tested this against a script-installed copy of 4.2.0, and FLAC
preview is working, although auto-play isn't. I haven't tested to
confirm if this behavior matches MP3 and OGG uploads.

**This is a new feature**:

_Do the changes in this PR implement a new feature?_

**I have updated the documentation to reflect these changes**:

No changes needed; this bug is a missing file format in preview, and it
requires no updates to the documentation.

### Testing Notes

**What I did:**

I installed a LibreTime 4.2.0 system using the default installation
script against a fully-updated, brand new Debian 11 system. I logged
into the web interface, uploaded some FLAC files, and attempted to
preview them. They failed to preview.

I then replaced the preview_jplayer.js file with the contents in this PR
and then refreshed the page. I was able to preview the FLAC files and
hear the results in my local browser audio output.

**How you can replicate my testing:**

Perform the same steps above, or replace the same file in the
libretime_legacy_1 docker image to see the same results.

### **Links**

Closes: #509

---------

Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2025-01-10 15:46:18 +00:00
..
auth/adapters feat(legacy): trused header sso auth (#3095) 2024-12-07 10:21:57 +00:00
common fix: intro/outro playlist unset was impossible (#3101) 2024-10-21 18:34:39 +01:00
configs feat(legacy): trused header sso auth (#3095) 2024-12-07 10:21:57 +00:00
controllers feat(legacy): trused header sso auth (#3095) 2024-12-07 10:21:57 +00:00
forms fix: intro/outro playlist unset was impossible (#3101) 2024-10-21 18:34:39 +01:00
layouts/scripts fix(legacy): add play button to stream player (#2190) 2022-09-27 08:14:53 +02:00
logging fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 (#2972) 2024-04-13 14:36:31 +02:00
models fix: intro/outro playlist unset was impossible (#3101) 2024-10-21 18:34:39 +01:00
modules/rest fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 (#2972) 2024-04-13 14:36:31 +02:00
services fix: intro/outro playlist unset was impossible (#3101) 2024-10-21 18:34:39 +01:00
validate Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
views feat: use custom intro/outro playlists per show (#2941) 2024-10-14 21:07:41 +01:00
Bootstrap.php feat(legacy): move session store to database (#2523) 2023-05-30 22:25:50 +02:00
airtime-boot.php chore: remove cloud storage remainings (#1934) 2022-07-04 22:09:14 +02:00
assets.json feat: add flac support to Web player (#3128) 2025-01-10 15:46:18 +00:00
check.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
preload.php fix(legacy): log errors on connect check failure (#2317) 2022-12-16 19:38:33 +01:00