advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.7k stars 473 forks source link

[Enhancement] Upload files to existing library item folders #1894

Open TheOneValen opened 1 year ago

TheOneValen commented 1 year ago

Describe the issue

I would like to upload a new file to an existing folder to extend a podcast. I get an 500. From the code in the upload controller this is intentional. I cannot imagine why, so I thought this must be untentional.

If it is intentional, how can I upload a new file to an existing podcast then?

Steps to reproduce the issue

  1. use the api to upload to an existing folder
  2. 500 -> Folder already exists

Audiobookshelf version

v2.2.23

How are you running audiobookshelf?

Docker

advplyr commented 1 year ago

I didn't think about this use-case since the uploader was originally made for audiobooks and not many people use the upload feature to add media to Abs.

When it comes to adding files to Abs most people put the file in their file system and it gets automatically scanned in.

For podcast episodes those are typically added by downloading via an RSS feed.

I think this can be supported

TankParts commented 1 year ago

Here is some context into how I am looking to use Abs and this issue being looked at is critical to our use case.

I have set up Abs in a school and we are currently testing and investigating the possibility of hosting a podcast that will be available to the school staff via Abs, the Abs-app and via 3rd party apps via a feed, we dont intend to publish to any external platforms.

We want to be able to upload one new podcast episode per week to an existing podcast via the /upload page to an existing folder but it looks like this is currently not possible.

image

This issue '[Enhancement] Upload files to existing library item folders #1894' is currently the main roadblock stopping us from going ahead.

The other issue is the lack of SSO or Bulk user creation '[Enhancement]: Add SSO Support #998' or '[Enhancement]: Bulk Local User Creation and Account Updates #2271' but we are happy to get around this by using 3rd party app access via a feed until these are resolved.

Hopefully '[Enhancement] Upload files to existing library item folders #1894' can be looked at soon.

This is a great project and I am loving what I have seen so far.

motionthings commented 8 months ago

Any progress on this?

This bug means that i cant upload any new books by the same author. I have to do it via the filesystem and rescan my library.