bxt_description_generator

BoxTorrents Description Generator


License
WTFPL
Install
pip install bxt_description_generator==0.3

Documentation

See INSTALL.markdown for installation details.

Original Request

14:46 -!- Irssi: Starting query in deltaanime with Chiyachan
14:46 First of all. This should be an application. How it works, I don't know.
14:46 I give the program a root directory.
14:46 It takes each individual directory from there and separates them mentally.
14:47 It goes though each directory and works out the following:
14:47 Codec. Bitrate. Artist. Album name. Tracklist.
14:47 It uses the previous data to make a BxT reliable description in a style I can provide an image of.
14:47 Does that make sense?
14:48 <xiong_chiamiov> mmhmm
14:48 Can you do it?
14:48 <xiong_chiamiov> depends on if I can find something to pull id3 tags out of files
14:48 It doesn't need to be flashy. But needs to be able to work.
14:48 <xiong_chiamiov> although, I suppose, a certain amount could be inferred by file/directory structure, but...
14:49 <xiong_chiamiov> I'll look around tonight and let you know whether it's possible or not
14:49 Do you want to see the directory I need it for the most?
14:49 <xiong_chiamiov> sure
14:50 -Chiyachan(~fap@drool.lolifest.sakura)- DCC Send xiong.jpg (86.170.167.85)
14:53 http://www.boxtorrents.com/torrent/129523/Gundam_SEED_DESTINY_-_Complete_Soundtracks_music.html
14:53 Description it generates should look like this.
14:53 But instead of making "scans" it should have a File info: "Scans: Yes/No"
14:54 For CD1/CD2 - Should be put under a single album as two tracklists
14:54 If I make sense. =\
14:55 <xiong_chiamiov> yeah, I think so
14:56 Well, if you're able to make it.
14:56 Not only will I love you.
14:56 Other people who make large OST torrents will love you.

Usage (CLI)

  1. Open a terminal (command prompt).
  2. Run bdg [path to files] [name of template] > [file to output to]. For example, to make a description.html on your Desktop, based off of the folder "Some Music" in your music directory, you would do:
    • (Linux): bdg "~/Music/Some Music" rorando.html > ~/Desktop/description.html
    • (Windows): `bdg "%USERPROFILE%\Music\Some Music" rorando.html > "%USERPROFILE%\Desktop\description.html"
  3. Open the generated file in your browser, and adjust it in an editor as need be.

Usage (GUI)

  1. Run the command 'bdg'.
    • (Linux): Most window managers will bring up a run prompt with alt+f2.
    • (Windows): The Run dialog can be found in the start menu, or accessed by pressing Win+R.
  2. Fill out the forms.
  3. Copy+paste the resulting text into the sandbox.