Commit Graph

290 Commits

Author SHA1 Message Date
Rob Hailman 2bed9d99ac Add check for deleted instance to AutoPlaylist
When building list of instances with autoplaylists, filter out those
where modified_instance is true.
2021-04-07 10:51:08 -04:00
Zachary Klosko 7608b9b298 Removing bandwidth tracking 2021-01-03 20:41:04 -05:00
Kyle Robbertze 2003e685b0 Merge branch 'reverse-proxy' into master 2020-09-28 15:09:10 +02:00
Thomas Göttgens 546980249e Add a switch to force 'assume SSL' mode behind a reverse proxy, when the RP adds SSL and the internal connection is HTTP only. 2020-07-20 14:03:55 +02:00
Thomas Göttgens 82d3530777
Corrupt Cover Art prohibits mp3 upload
Don't throw an exception on corrupted cover art image data in upload. The order of processing needs to be the other way around.
2020-07-18 16:35:00 +02:00
Codenift 5ef67836cf track type default 2020-05-04 00:32:52 -04:00
Robb 96f33f6250
Merge pull request #892 from codenift/media_type
Track Types Feature
2020-03-16 14:05:29 -04:00
Codenift 386918da2b Renamed media type to track type for tracks 2020-01-06 17:15:04 -05:00
Codenift 3338e9289a Set to media type on upload. Music being default. 2019-11-07 15:31:09 -05:00
Codenift 2bb0976300 Added remove artwork option, and a few changes. 2019-10-29 23:50:01 -04:00
Codenift 9f2d941c87 Clean up on artwork upload. 2019-10-25 14:46:16 -04:00
Codenift a65ab11d9f Upload artwork using drag and drop or click to browse using track edit. 2019-10-25 10:30:33 -04:00
Robb 7701d0f438
Merge pull request #877 from codenift/artwork
Generate artwork image from audio using ID3.
2019-10-15 17:58:20 -04:00
Codenift 7366fa60fc
Change to display a better message
Replaced with a better message they can understand
2019-10-13 16:23:06 -04:00
Codenift 8cc48eb47f
Fixed description for logging if getid3 exists 2019-10-13 15:31:21 -04:00
Codenift 88f90f33b9
If id3 library is not present show default image
Checks for getid3 library. Prevents site from failing. No images are fetched from audio files and will just show default image instead with a message on log saying to run install.
2019-10-13 13:07:06 -04:00
Robb Ebright 924d60bd4b Moved intro and outro autoplaylist out of repeat until full loop 2019-10-12 16:21:19 -04:00
Codenift 45dbf84750 Generate artwork images for audio using ID3. 2019-09-19 20:07:50 -04:00
Lucas Bickel 0f5cb8b1f8 🔥 remove remaining legacy saas code 2019-08-18 16:34:29 +02:00
Kyle Robbertze c69136767e Use user-defined timezone if it exists
Fixes: #785
2019-06-29 22:27:55 +02:00
Robbt 7d1acab7b6 fixed autoloading playlist to avoid errors when trying to schedule empty playlist 2019-02-19 07:49:11 -05:00
Robbt 1bdd27077c add audio/flac to mimetype in filedatahelper 2019-02-15 16:25:51 -05:00
frecuencialibre 4d0fea34fc
Merge pull request #707 from Robbt/intro-playlist
Add Intro and Outro playlist to Autoloading Playlists
2019-02-14 10:49:15 -06:00
Robbt 6f7c2f2cc9 refactored autoplaylist and updated showinstance to make sequential adds possible 2019-02-09 10:58:00 -05:00
Robbt 8de94a670f trying different things for autoplaylist 2019-01-21 11:06:04 -05:00
Robbt f9a5da2ba3 intro playlist scaffolding in place but needs refinement to get working 2019-01-20 19:20:13 -05:00
Robbt 7177fc7bed Removed logging and fix parameter variable 2019-01-13 11:46:55 -05:00
Robbt 2485e70bbe fixed typo in variable 2019-01-13 09:50:21 -05:00
Robbt eb349174dd change album override label to podcast metadata override in preferences page 2019-01-13 00:40:13 -05:00
Robbt e2e8591b4d added track title override for podcasts 2018-12-23 14:54:47 -05:00
Robb 022b231cfe
Merge pull request #536 from radiorabe/dev/fileio-for-sizeless-files-from-legacy
Always return proper file size
2018-10-06 17:11:16 -04:00
Jerry Russell 542c60c30b issue 349 - add missing code to allow preview seek 2017-11-16 00:38:44 +00:00
Xabi Spacebiker 715df8418f Update HTTPHelper.php 2017-09-29 12:21:13 +02:00
Xabi Spacebiker 418e46c5d8 Update HTTPHelper.php
We want getStationUrl to return a slash at the end, so we add it if missing
2017-09-28 11:23:32 +02:00
Lucas Bickel fa2018a2c5 Simplify configuration file structure
This removes most of the legacy upstream config madness by not using
weird config files spread all over the place.

This isn't the solution to other config reading fragility issues, but
it does move the whole config back to the central airtime.conf file.
2017-07-21 13:15:28 +02:00
Lucas Bickel 04e2402276 Fix non default local CORS URL case
I cleaned up the CORSHandler code a bit more and also rewrote the
helper to use the framework to access the request properly and
took care of also grabbing the request schema from the server.
2017-07-18 20:39:53 +02:00
Lucas Bickel fd6f3230ed Always return proper file size
Legacy upstream had a weird way of doing this that could lead to empty files being requested with a range header that did not match what was available on the server. I'm assuming this code used to work aroud some media-monitor feature that has been since refactored into analyzer which handles these cases properly.
2017-04-17 23:03:44 +02:00
Robb 8f372f5610 Merge pull request #136 from radiorabe/feature/freeipa-auth
FreeIPA Auth Adaptor for LibreTime
2017-04-03 11:50:23 -04:00
Robb Ebright 8a92c80bcb Fixed autoplaylist repeat to fill show 2017-04-01 01:00:00 -04:00
Lucas Bickel aa5bc06d74 FreeIPA Auth Adaptor for LibreTime
Allow delegating user authentication to FreeIPA rather than having it be checked against the database.
2017-03-31 14:16:31 +02:00
Robb Ebright 7a944ac9ce code change to repeat autoplaylists lacking UI option to enable/disable 2017-03-30 23:01:31 -04:00
Lucas Bickel ee81a73817 Run more unstranslated Strings through _() 2017-03-24 13:32:15 +01:00
Lucas Bickel 1fc1e6a199 Get rid of session use in auto playlist
The user object was triggering the creation of a user context that tried to grab something from the session. The later code never tried to use this due to the checkPerm flag.

I'm assuming the user model used to have a sane constructor w/o side effects in the times where this code had it's heyday.
2017-03-22 12:26:18 +01:00
Robb Ebright 934cad44b5 Fixing dependence upon hard-coded password by modifying playlist build to not require authentication 2017-03-21 15:02:31 -04:00
Lucas Bickel 38d4fdcdda Disable all google tracking per default 2017-03-13 17:30:05 +01:00
Robb 2be8ef0f2b Merge pull request #55 from radiorabe/feature/autodj
Robbs AutoDJ
2017-03-11 18:41:08 -05:00
Lucas Bickel 1c1f7587a3 Fix _isTask method in taskmanager
The is_a fix from 09aea8b747 was not quite the way to go, with array_key_exists and class_implements implements the TaskManager finds all tasks again.
2017-03-11 22:49:05 +01:00
Lucas Bickel 2a53241ba3 Whitespace and deadcode nitpick 2017-03-10 16:27:46 +01:00
Robb Ebright 32a1a66378 Added AutoPlaylist Functionality to Show Scheduler enabling shows to have tracks added automatically. 2017-03-10 15:33:32 +01:00
Lucas Bickel baa0f9ba77 Make CORS great again
This fixes CORS to work properly with most 2.5 api endpoints while keeping the JSONP format available.

* [x] return JSONP or JSON with proper CORS headers from API
* [x] Field in Genereal Preferences Form to configure CORS enabled URLs

See #17 for what triggered this refactor. I beleive this should make integrating the APIs on the client side trivial without mandating the use of JSONP.
2017-03-10 15:10:56 +01:00