-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mass Processing Files #15
Comments
Very ingenious of you - nice work. Would you mind if I updated the readme linking to this issue? |
Not at all, please do! The bash portion could not be possible without the help of @tronyx |
Thanks! |
I run linux, so I wrote a simple bash script to utilize the commands above, added a loop and I ran this from within my container. This worked for me!
Note: Just change the directory paths |
You can simplify your find command greatly as follows:
|
I was playing around with it, but got lazy ;) I just updated my comment |
for bash you can do this pretty simply by going into the docker with: docker exec -it striparr sh once in there you can ls around and find your media. let's assume I have all my media in a folder called media for the sake of this exercise. now you can easily strip all mkvs like this, one line. find /media -type f -exec /manually_process.py {} ; this will process all files in the /media folder. if you want to only process mkv adjust it like so find /media -type f -name '*.mkv' -exec /manually_process.py {} ; |
Hi,
I couldn't find a way to "mass process" existing files and using tab autocompletion on any existing library would take quite a bit of time.
I couldn't get it to work with bash for some reason but managed to hack something up on Powershell. I don't know if you are interested in adding it on the
README.md
Paths would need to be changed in a per user's basis. Also keep in mind, I'm running these Powershell comamnds on the root of the drive where my media is. If you wish to not do that, you'd just need to adjust the path for where your
media.txt
will be output to.Afterwards, I manually grabbed the
manually_process.py
file from my appdata folder or you can get it from here and modified line 34 to point to where Striparr is listening on my docker host:And last but not least, we send the request to Striparr:
Originally I had done the first portion in bash thanks to @tronyx. Here's how:
The text was updated successfully, but these errors were encountered: