Skip to content

Commit

Permalink
Date.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Jan 11, 2024
1 parent 05ee389 commit e37d7c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/libs/extra/source.liq
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ stdlib_file = file
# @param ~file File where the stream is stored.
# @param ~file_type Format in which the stream is stored.
# @param ~comment Comment about the stream.
# @param ~date Year for the stream.
# @param ~temp_dir Temporary directory for atomic write.
# @param ~delete Delete the CUE files when starting if it exists.
def source.cue(
Expand All @@ -280,6 +281,7 @@ def source.cue(
~file=null(),
~file_type="mp3",
~comment=null(),
~date=null(),
~max_length=null(),
~temp_dir=null(),
~delete=true,
Expand Down Expand Up @@ -343,6 +345,13 @@ def source.cue(
"REM COMMENT",
comment
)
if
null.defined(date)
then
w(
"DATE null.get((date:int))"
)
end
if
null.defined(file)
then
Expand Down

0 comments on commit e37d7c6

Please sign in to comment.