mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2026-03-22 08:38:11 +05:00
add warning on track page if only a snippet is available
This commit is contained in:
@@ -81,6 +81,12 @@ templ TrackPlayer(prefs cfg.Preferences, track sc.Track, stream string, displayE
|
||||
}
|
||||
</noscript>
|
||||
}
|
||||
if track.Policy == sc.PolicySnip {
|
||||
<div>
|
||||
<p>Only a 30-second snippet is available.</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
if *prefs.ShowAudio {
|
||||
<div>
|
||||
if audioPref == cfg.AudioBest {
|
||||
|
||||
Reference in New Issue
Block a user