chore: fix comment wording
This commit is contained in:
parent
ce27615a24
commit
43cc2bc4f0
|
@ -11,7 +11,7 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def create_liquidsoap_annotation(file_event: FileEvent) -> str:
|
def create_liquidsoap_annotation(file_event: FileEvent) -> str:
|
||||||
# We need liq_start_next value in the annotate. That is the value that controls
|
# We need liq_start_next value in the annotation. That is the value that controls
|
||||||
# overlap duration of crossfade.
|
# overlap duration of crossfade.
|
||||||
annotations = {
|
annotations = {
|
||||||
"media_id": file_event.id,
|
"media_id": file_event.id,
|
||||||
|
@ -27,7 +27,7 @@ def create_liquidsoap_annotation(file_event: FileEvent) -> str:
|
||||||
annotations["replay_gain"] = f"{file_event.replay_gain} dB"
|
annotations["replay_gain"] = f"{file_event.replay_gain} dB"
|
||||||
|
|
||||||
# Override the the artist/title that Liquidsoap extracts from a file's metadata with
|
# Override the the artist/title that Liquidsoap extracts from a file's metadata with
|
||||||
# the metadata we get from Airtime. (You can modify metadata in Airtime's library,
|
# the metadata we get from LibreTime. (You can modify metadata in LibreTime's library,
|
||||||
# which doesn't get saved back to the file.)
|
# which doesn't get saved back to the file.)
|
||||||
if file_event.artist_name:
|
if file_event.artist_name:
|
||||||
annotations["artist"] = file_event.artist_name.replace('"', '\\"')
|
annotations["artist"] = file_event.artist_name.replace('"', '\\"')
|
||||||
|
|
Loading…
Reference in New Issue