media downloading
This commit is contained in:
@@ -4,3 +4,19 @@ class NoMediaException(Exception):
|
||||
playlist name or similar, or the upstream source returned an error.
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
class NoFormatException(Exception):
|
||||
'''
|
||||
Raised when a media item is attempted to be downloaded but it has no valid
|
||||
format combination.
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
class DownloadFailedException(Exception):
|
||||
'''
|
||||
Raised when a downloaded media file is expected to be present, but doesn't
|
||||
exist.
|
||||
'''
|
||||
pass
|
||||
|
||||
@@ -77,7 +77,7 @@ main {
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
padding: 2rem 0 0.5rem 0;
|
||||
padding: 1.5rem 0 1rem 0;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="col s12">
|
||||
<div class="card infobox">
|
||||
<div class="card-content">
|
||||
<i class="fas fa-info-circle"></i> {{ message|safe }}
|
||||
<i class="fas fa-fw fa-info-circle"></i> {{ message|safe }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user