File naming stuff is (finally) centralized under AudioFileStorageExt
This commit is contained in:
parent
e4fc104afe
commit
d636ceed8e
17 changed files with 208 additions and 157 deletions
|
|
@ -47,7 +47,7 @@ namespace FileLiberator
|
|||
if (existingPath != null)
|
||||
return Path.Combine(existingPath, Path.GetFileName(file));
|
||||
|
||||
return FileUtility.GetValidFilename(AudibleFileStorage.BooksDirectory, libraryBook.Book.Title, Path.GetExtension(file), libraryBook.Book.AudibleProductId);
|
||||
return AudibleFileStorage.Audio.GetBooksDirectoryFilename(libraryBook, Path.GetExtension(file));
|
||||
}
|
||||
|
||||
private static string getdownloadUrl(LibraryBook libraryBook)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue