getInfos::Ogg
This commit is contained in:
parent
1a17d8985a
commit
67cc8b6827
26
atom
26
atom
@ -656,7 +656,31 @@ YEAR=%y' "$sourcepath/$filename" \
|
||||
}
|
||||
|
||||
getInfos::Ogg() {
|
||||
:
|
||||
infos=$(
|
||||
ogginfo "$sourcepath/$filename" \
|
||||
sed 's/\t//'
|
||||
)
|
||||
albumartist=$(gettag albumartist)
|
||||
album=$(gettag album)
|
||||
artist=$(gettag artist)
|
||||
composer=$(gettag composer)
|
||||
disc=$(gettag discnumber)
|
||||
genre=$(gettag genre)
|
||||
performer=$(gettag performer)
|
||||
title=$(gettag title)
|
||||
tracknum="$(gettag tracknumber)/$(gettag tracktotal)"
|
||||
year=$(gettag date)
|
||||
[ -n "$album" \
|
||||
-o -n "$albumartist" \
|
||||
-o -n "$artist" \
|
||||
-o -n "$composer" \
|
||||
-o -n "$disc" \
|
||||
-o -n "$genre" \
|
||||
-o -n "$performer" \
|
||||
-o -n "$title" \
|
||||
-o -n "$tracknum" \
|
||||
-o -n "$year" ] \
|
||||
|| return 1
|
||||
}
|
||||
|
||||
getInfos::FLAC() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user