GithubHelp home page GithubHelp logo

kward / tracks Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 7.16 MB

Tool to rename files written by Waves Tracks based on Avid VENUE channel names.

License: Apache License 2.0

Go 9.05% HTML 90.95%
avid venue daw cli golang pro-tools waves tracks

tracks's Issues

Panic while trying to rename files

Below is the attempt and the error. I believe it is because I only have sessions 4..7.

$ go run tracks.go \
  --behavior mv \
  --src_dir /Volumes/Samsung_T5/Aufname/2017-12-17/interchange/2017-12-17/audiofiles \
  --patch_file /Volumes/Samsung_T5/Aufname/2017-12-17/Avid\ VENUE\ Patch\ List\ Dec\ 17\ 2017\,\ 20-12.html \
  --dry_run
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x10f2cb6]

goroutine 1 [running]:
github.com/kward/tracks/venue.(*Channel).Name(...)
	/Users/kward/var/wa/go/src/github.com/kward/tracks/venue/venue.go:294
main.NameTracks(0xc420402090, 0xc420113290, 0xc420043f10, 0xc420402060, 0x0)
	/Users/kward/var/wa/github.com/kward/tracks/tracks.go:213 +0x106
main.main()
	/Users/kward/var/wa/github.com/kward/tracks/tracks.go:106 +0x488
exit status 2

Sessions:

  • Track 01-4.wav
  • Track 01-5.wav
  • Track 01-6.wav
  • Track 01-7.wav
  • ...

Tracks named incorrectly

For the soon to be uploaded patch list venue/testdata/20180128 Avid S3L-X Patch List.html, at least the following two tracks were named incorrectly.

  • S2.13 vFlorina --> 13 (correct is 29)
  • S2.16 vGloria --> 16 (correct is 32)

In both cases, the channels were on Stage 2, but Stage 1 had a matching unused (and unnamed) channel that incorrectly matched.

Tracks with path separator in name result in errors

The following error appeared because one of my Venue tracks had a '/' in the name, which of course is the Unix path separator.

error copying file, rename /Volumes/ka01/aufname/ICF/2017/20170414 Ostern Brother/interchange/20170414 Ostern Brother/audiofiles/Track 45-2.wav /Volumes/ka01/aufname/ICF/2017/20170414 Ostern Brother/interchange/20170414 Ostern Brother/audiofiles/02-45 Th10 Paul/White.wav: no such file or directory
exit status 70

Support symbolic linking of files.

Moving or renaming files breaks the ability for Tracks to open the files again in the future. Symbolic links would preserve this ability.

Add support for file naming patterns

Patterns:

  • Use @ for templating delimiters.
  • Have some built-in defaults, but allow custom patterns from the command-line.

Variables:

  • name
  • track_no
  • session_no
  • extension

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.