Skip to content

klonuo/bash-cue-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

###Usage:

  • bash-cue-validator-test.sh

This will output possible problems when called from terminal:

$ ./bash-cue-validator-test.sh my-cue-sheet.cue
  • bash-cue-validator-thumbs.sh

This is intended to be used as Nautilus thumbnail handler.

Here is how it can be set from terminal (change ** path-to ** accordingly):

$ gconftool-2 -s "/desktop/gnome/thumbnailers/application@x-cue/command" -t string "/ ** path-to ** /bash-cue-validator-thumbs.sh %i %o %s"
$ gconftool-2 -s "/desktop/gnome/thumbnailers/application@x-cue/enable" -t boolean 'true'

After-which it should show annotated thumbs for cue sheets (don't forget chmod +x) Image is taken from Faenza icon set


###Example:

This cue sheet has invalid referenced file inside (IREF annotated):

screen-shot

After correcting referenced filepath, warning is shown about non-compliant cue sheet and presence of UTF-8 BOM header:

screen-shot

Now, this is valid cue sheet ( according the script ;) )

screen-shot


###Changes:

bash-cue-validator-thumbs.sh 0.2

  • SVGs are removed and instead single SVG is xz-ed and base64-ed inside script, then sed-ed to give particular color mask
  • changed output to tranparent with greater quality

About

simple bash script which tries to validate audio cue sheets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages