Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import audiobook. Get Value cannot be null. (Parameter 'fileName') Error #3012

Closed
2 tasks done
SpartacusIam opened this issue Oct 19, 2023 · 6 comments
Closed
2 tasks done
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug

Comments

@SpartacusIam
Copy link

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

When I try to do an automatic or interactive import, I get the following error:

Value cannot be null. (Parameter 'fileName')

Expected Behavior

Book should import from downloads to audiobooks root folder

Steps To Reproduce

  1. Go to Wanted
  2. Choose Manual Import
  3. Browser to location of audiobook
  4. Hit interactive import
  5. Confirm it matches the intended book
  6. Hit import

Environment

- OS: Debian
- Readarr: 0.3.7.2260
- Docker Install: hotio
- Using Reverse Proxy: yes
- Browser: Chrome
- Database: internal

What branch are you running?

Master

Trace Logs?

readarr.trace.txt

Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.

  • I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.
@SpartacusIam SpartacusIam added Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug labels Oct 19, 2023
@mynameisbogdan
Copy link
Contributor

This should be fixed, but it seems to me that you're trying to import an audio book media to a spoken book. That's correct?

@SpartacusIam
Copy link
Author

This should be fixed, but it seems to me that you're trying to import an audio book media to a spoken book. That's correct?

Are spoken books and audio books not the same in readarr? I choose spoken book because the only options I see are eBook and Spoken book. I assumed spoken book meant audio book.

@mynameisbogdan
Copy link
Contributor

Yeah, sorry. My head is in multiple places. That's correct, audiobook to ebook.

@SpartacusIam
Copy link
Author

Yeah, sorry. My head is in multiple places. That's correct, audiobook to ebook.

Are you saying I should be importing audiobooks (m4b in this case) to ebooks instead of spoken books?

@mynameisbogdan
Copy link
Contributor

I'm saying you should be importing audiobooks to spoken books, because in the error it looks like you're trying to import m4b to an ebook. I'm not familar with calibre, but it only checks for ebooks formats here:

.Where(x => MediaFileExtensions.TextExtensions.Contains("." + x.Key))

@SpartacusIam
Copy link
Author

I'm not trying to import to ebooks. See the screenshots below.

image
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2024
adechant pushed a commit to adechant/Readarr that referenced this issue Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug
Projects
None yet
Development

No branches or pull requests

2 participants