Git Product home page Git Product logo

Comments (4)

Intrinsically-Sublime avatar Intrinsically-Sublime commented on May 24, 2024 1

@hockeygoalie35 It is only the extra files that are hardlinked / symbolic linked. So the nfo, jpg, png, lrc, etc. They may not be big files, but with a large collection we are talking many GB of extra files that we do not really need duplicates of.

edit: It will also link the non-transcoded audio files if you choose to not transcode certain types which can save a lot more space.

from arr-scripts.

hockeygoalie35 avatar hockeygoalie35 commented on May 24, 2024

I'm not holding my breath, but I could take a look at this unless @RandomNinjaAtk objects.

Add hardlink option (instead of copying the extra files)
Add symbolic link option (instead of copying the extra files)

How does this work, unless I'm understanding it wrong. How can you hard/sym link a source file to the transcoded output? Or is this not relevant for the use you're describing?

from arr-scripts.

RandomNinjaAtk avatar RandomNinjaAtk commented on May 24, 2024

You could just run 2 containers and have the libraries sync and then just have one target one format and the other target the other format...

from arr-scripts.

Intrinsically-Sublime avatar Intrinsically-Sublime commented on May 24, 2024

@RandomNinjaAtk I am not really sure I know what you mean.

Do you mean run two instances of Lidarr, download everything twice, use twice the bandwidth and twice the API calls to databases called by Lidarr and Beets. Then have one of the Lidarrs transcode the files to another format via the current scripts? I guess that would work to have two libraries of different formats. But you would have duplicates of all the extra files plus the albums that are only available in the lower quality formats would be duplicated taking up even more space.

But with my script it lets Lidarr and the current scripts do the downloading and tagging that involve the bandwidth and API calls just once. Then the script transcodes the files if needed and hardlinks the additional files without using more bandwidth or API calls as well as saving space with the hardlinked files.

I currently have the script run every 6 hours via cron which works okay as long as I do not need the transcoded files immediately.

Most of the music we listen to is obscure, hard to find and we are lucky to find a single format of a lot of it, nevermind multiple formats where we get to choose. A large portion of our collection are DJ sets and similar tracks that are never officially released anywhere and I have to curate manually outside of Lidarr so downloading multiple times in different formats is not as easy.

TLDR: The script maintains the two libraries syncronized but using the minimal drive space required and the minimal bandwidth and API calls.

from arr-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.