whereis: Don't include yt: prefix when showing url to content retrieved with youtube-dl
I don't think this was really intentional behavior. It may be that it was useful to include it so it could be passed to rmurl, since without it rmurl would not actually remove the url. Since that was changed earlier today, now seems like a good time to clean up the display of these urls. This commit was sponsored by Jochen Bartl on Patreon.
This commit is contained in:
parent
29f9cf188d
commit
c68ba7d893
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,8 @@ git-annex (8.20210311) UNRELEASED; urgency=medium
|
|||
special remote, fix a bug that caused the url to to not be removed.
|
||||
* unregisterurl: Fix a bug that caused an url to not be unregistered
|
||||
when it is claimed by a special remote other than the web.
|
||||
* whereis: Don't include yt: prefix when showing url to content
|
||||
retrieved with youtube-dl.
|
||||
* Work around some buggy webdav server behavior involving renaming files.
|
||||
* Make --debug also enable debugging in child git-annex processes.
|
||||
* fsck: When --from is used in combination with --all or similar options,
|
||||
|
|
|
@ -131,7 +131,8 @@ getUUIDUrls key uuids remotemap = forM uuids $ \uu -> (,)
|
|||
|
||||
getRemoteUrls :: Key -> Remote -> Annex [URLString]
|
||||
getRemoteUrls key remote
|
||||
| uuid remote == webUUID = getWebUrls key
|
||||
| uuid remote == webUUID =
|
||||
map (fst . getDownloader) <$> getWebUrls key
|
||||
| otherwise = (++)
|
||||
<$> askremote
|
||||
<*> claimedurls
|
||||
|
|
Loading…
Reference in a new issue