dakriy d7987bb4ef
fix: when metadata has a newline playout stops (#3160)
### Description

If the title or artist metadata in libretime has a newline, that file is
not played as telnet takes the newline as a command enter in the middle
of the command.

**This is a new feature**:

No

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

No

### Testing Notes

**What I did:**

I spun up a fresh local LibreTime instance, uploaded a track with a
newline in the creator field. I then created a show and added the track
to the show and verified that the track did not play with error:

```
playout-1  | 2025-06-06 17:41:49,888 | ERROR    | libretime_playout.liquidsoap.client._client:_set_var:50 - ERROR: unknown command, type "help" to get a list of commands.
```

I then added my fix and verified that the track did play as it was
supposed to.

**How you can replicate my testing:**

See the above section

---------

Co-authored-by: jo <ljonas@riseup.net>
2025-06-08 16:54:21 +02:00
2025-05-29 21:16:56 +02:00
2023-06-02 07:44:34 +01:00
2025-06-01 12:33:27 +02:00
2025-05-29 21:16:56 +02:00
2025-05-29 21:16:56 +02:00
2023-10-16 21:26:59 +02:00
2022-09-14 11:09:52 +02:00
2023-04-12 08:11:21 +01:00
2022-09-09 14:44:37 +02:00
2021-09-02 20:55:16 +02:00
2021-09-02 16:06:26 +02:00
2025-03-14 12:25:50 +00:00

LibreTime

Financial Contributors on Open Collective

Covered by Argos Visual Testing

LibreTime makes it easy to run your own online or terrestrial radio station. It is a community managed fork of the AirTime project.

It is managed by a friendly inclusive community of stations from around the globe that use, document and improve LibreTime. Join us in fixing bugs and in defining how we manage the codebase going forward.

Check out the documentation for more information and start broadcasting!

Please note that LibreTime is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

You can find details about our development process in the contributing guide.

Support

To get support for any questions or problems you might have using the software we have a forum at discourse.libretime.org. We are moving towards using the forum to provide community support and reserving the github issue queue for confirmed bugs and well-formed feature requests.

You can also contact us through Matrix (#libretime:matrix.org) where you can talk with other users and developers.

Contributors

Code Contributors

This project exists thanks to all the people who contribute.

Financial Contributors

Become a financial contributor and help us sustain our community on OpenCollective.

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website.

License

LibreTime is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

Copyright (c) 2011-2017 Sourcefabric z.ú.

Copyright (c) 2017-2023 LibreTime Community

Please refer to the LEGACY file for more information.

Description
No description provided
Readme AGPL-3.0 406 MiB
Languages
PHP 72.3%
JavaScript 17.2%
Python 4.3%
CSS 3%
HTML 2.3%
Other 0.6%