Nebarik 7 Posted October 18, 2021 Posted October 18, 2021 (edited) As per title. I feel like Emby is doing some unnecessary file renaming when downloading comics. Emby Server Docker version 4.6.4.0 Accessing via Chrome for Mac, For Android, and the Android App. Depending on the browser/app it gives slightly different results. sometimes it works fine and downloads the .cbr/.cbz file with the correct file name. "filename.cbr" But a lot of the time it downloads it as "filename.cbr.epub" or "filename.epub", or in 1 weird case in chrome it completely renamed it as "download.epub". I haven't worked out what causes each occurance yet, but it's so common its more likely to rename it than not. Any chance this bug could be looked into so Emby just downloads the file with the existing file name. Thanks, Edited October 18, 2021 by Nebarik
Luke 42077 Posted October 18, 2021 Posted October 18, 2021 Hi there, can you please attach the emby server log from an example? Thanks .
Nebarik 7 Posted October 19, 2021 Author Posted October 19, 2021 Original file name is "Animosity (2016) - 01.cbr" Android Chrome logs. Clicked download and it came out as "Animosity (2016) - 01.cbr.epub" https://pastebin.pl/view/a7713d53 Android app logs. Set download location to External > Downloads folder. File came out as "Animosity__2016__-_01.cbr" https://pastebin.pl/view/0c1c7813 Original file name is "約束のネバーランド (2016) - 01.cbr" (In hindsight I'm guessing the non-english characters are the problem here, also happens on Android chrome) Mac Chrome logs. Clicked download and it came out as filename "Download.epub" https://pastebin.pl/view/4cdc5fb8 While testing, I couldnt get it to replicate with CBZ file types on either Mac or Android Chromes. They seem immune to the renaming issue. The Android app still renames the spaces and symbols, but keeps it as a .cbz. Hopefully the logs help, they dont appear to immediately give the obvious answer to me. Thanks,
Luke 42077 Posted October 24, 2021 Posted October 24, 2021 Quote The Android app still renames the spaces and symbols Hi, this part of it should be resolved in Emby for Android 3.2.24+.
Luke 42077 Posted October 24, 2021 Posted October 24, 2021 The rest of it I think is caused by the browser, probably due to the Content-Type http response header we're sending. For cbr files, the content-type we're sending is application/epub+zip
Luke 42077 Posted October 24, 2021 Posted October 24, 2021 I guess we should probably change that to application/x-cbr
Nebarik 7 Posted October 24, 2021 Author Posted October 24, 2021 Thanks, I look forward to the new updates
Nebarik 7 Posted November 3, 2021 Author Posted November 3, 2021 Can confirm the new Android app (3.2.26) has resolved the renaming issues (screenshot attached)
Luke 42077 Posted November 3, 2021 Posted November 3, 2021 Hi, there's nothing in the Android app for this. The change will actually be in the server.
Nebarik 7 Posted November 4, 2021 Author Posted November 4, 2021 10 hours ago, Luke said: Hi, there's nothing in the Android app for this. The change will actually be in the server. For the Chrome based downloading yeah, awaiting a update for that fix. But like you said, the Android app update fixes the underscore renaming: On 24/10/2021 at 16:40, Luke said: Hi, this part of it should be resolved in Emby for Android 3.2.24+. I was just posting to show that it is indeed fixed in the app now.
chowbok 132 Posted December 19, 2021 Posted December 19, 2021 On 10/24/2021 at 12:43 AM, Luke said: I guess we should probably change that to application/x-cbr Strictly speaking, the MIME type for CBR files is application/vnd.comicbook-rar, and for CBZ files it's application/vnd.comicbook+zip. 1
Luke 42077 Posted July 19, 2025 Posted July 19, 2025 Emby Server 4.9.1.8+ will now have a book reader in the web app for the following formats: PDF EPUB MOBI FB2 CBZ CBR Please try it out once available and report your experience in the Testing Area of the community: Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now