Merge lp://staging/~renamer-developers/renamer/ditch-metalanguage into lp://staging/renamer
Proposed by
Jonathan Jacobs
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Tristan Seligmann | ||||||||
Approved revision: | 116 | ||||||||
Merged at revision: | 84 | ||||||||
Proposed branch: | lp://staging/~renamer-developers/renamer/ditch-metalanguage | ||||||||
Merge into: | lp://staging/renamer | ||||||||
Diff against target: |
2443 lines (+714/-1378) 22 files modified
LICENSE (+5/-1) bin/rn (+1/-1) renamer/__init__.py (+2/-0) renamer/application.py (+148/-223) renamer/env.py (+0/-311) renamer/errors.py (+3/-8) renamer/irenamer.py (+28/-3) renamer/logging.py (+12/-7) renamer/main.py (+2/-3) renamer/plugin.py (+57/-82) renamer/plugins/audio.py (+56/-43) renamer/plugins/common.py (+0/-307) renamer/plugins/tv.py (+107/-56) renamer/test/data/tvrage (+19/-0) renamer/test/test_env.py (+0/-53) renamer/test/test_plugin.py (+34/-0) renamer/test/test_tvrage.py (+93/-16) renamer/test/test_util.py (+89/-0) renamer/util.py (+57/-175) scripts/music.rn (+0/-44) scripts/tv.rn (+0/-44) setup.py (+1/-1) |
||||||||
To merge this branch: | bzr merge lp://staging/~renamer-developers/renamer/ditch-metalanguage | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tristan Seligmann | Approve | ||
Andrew Snowden | Approve | ||
Review via email: mp+37035@code.staging.launchpad.net |
Description of the change
I think the value of the metalanguage has outlived itself and real Python plugins are probably a lot more useful and easy to write. The crazy config file system is also dead.
Some new features (such as creating symlinks and allowing renaming/moving across filesystem boundaries) are present too.
There really should be some more tests but I can't quite figure out where to start.
The flags "--link-dst" and "--link-src" might be more intuitive if they were named "--link-new" and "--link-original" or similar.
To post a comment you must log in.
Everything looks good, the only suggested change was to move the filename parsing out of the TVRage class into a base TV class so that it could be shared by any other metadata sources (e.g. thetvdb.com) since it isn't specific to TVRage. That can wait until there is actually another source implemented.