small bfixes
This commit is contained in:
parent
c705f7e831
commit
e4c08c2c45
2 changed files with 6 additions and 2 deletions
|
|
@ -588,7 +588,11 @@ class YTDLPUtil(private val context: Context, private val commandTemplateDao: Co
|
|||
request.addOption("-a", downloadItem.url)
|
||||
}
|
||||
}else if (downloadItem.playlistURL.isNullOrBlank() || downloadItem.playlistTitle.isBlank() || useItemURL){
|
||||
YoutubeDLRequest(downloadItem.url)
|
||||
if (downloadItem.url.isBlank()) {
|
||||
YoutubeDLRequest(listOf())
|
||||
}else{
|
||||
YoutubeDLRequest(downloadItem.url)
|
||||
}
|
||||
}else{
|
||||
isPlaylistItem = true
|
||||
YoutubeDLRequest(downloadItem.playlistURL!!).apply {
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@
|
|||
android:backgroundTint="?attr/colorSecondary"
|
||||
android:clickable="false"
|
||||
android:gravity="center"
|
||||
android:maxWidth="80dp"
|
||||
android:maxWidth="90dp"
|
||||
android:maxLines="1"
|
||||
android:minWidth="30dp"
|
||||
android:paddingHorizontal="5dp"
|
||||
|
|
|
|||
Loading…
Reference in a new issue