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

Sane folder mapping #31

Open
tordenflesk opened this issue Apr 13, 2022 · 3 comments
Open

Sane folder mapping #31

tordenflesk opened this issue Apr 13, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@tordenflesk
Copy link

tordenflesk commented Apr 13, 2022

SONARR Root Folder: /DATA03/media/tv [ Docker mapping: /srv/dev-disk-by-uuid-00a91771-1e9f-451c-aaf9-456977460ae9:/DATA03 ]

when mapped like this in your docker:
/srv/dev-disk-by-uuid-00a91771-1e9f-451c-aaf9-456977460ae9/media:/sonarr_root
files end up here:
/srv/dev-disk-by-uuid-00a91771-1e9f-451c-aaf9-456977460ae9/media/DATA03/media/tv/

As far as I can tell there's no sane way of mapping directly to /tv and not appending the Root Folder.

@tordenflesk
Copy link
Author

And is there a way to filter by say video title. I'm only interested in certain series on a channel and they're not being put in playlists.

@whatdaybob
Copy link
Owner

@tordenflesk looks like your mounting it a folder too deep. Looks to me that DATA03 is the same as /srv/dev-disk-by-uuid-00a91771-1e9f-451c-aaf9-456977460ae9 but its not matching up. Can you show me your docker-compose for this.

You might be able to do it with the regex replace depending on what the channel names the videos and if they are consistent with the identification of that series.

In that case you may be able to use the match of ^ and the replace of seriesname $& to change sonarr to prefix and match it. Not tested it personally as it uses regex backreferences.

Maybe sling what series your trying to achieve a DL of and I can look and see if its possible.

@whatdaybob whatdaybob self-assigned this Apr 13, 2022
@whatdaybob whatdaybob added the question Further information is requested label Apr 13, 2022
@darkf3n1x
Copy link

Example sonarr:
/mnt/media/tv:/tv

Example sonarr_youtubedl
/mnt/media/tv:/sonarr_root

The above config should drop the files in properly without adding another subdirectory /tv.
We shouldn't have to map the whole root media directory to this container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants