Code Monkey home page Code Monkey logo

jtr's People

Contributors

echarlie avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jtr's Issues

client: report error on inaccurate rips

need to parse that last secion reporting tracks after whipper exits

Using configured read offset 12
Checking device /dev/sr0
Reading TOC...
CDDB disc id: 8b08990a
MusicBrainz disc id Kk9PG7qexqJGSVb.8lW3NosBWQA-
MusicBrainz lookup URL https://musicbrainz.org/cdtoc/attach?toc=1+10+165260+150+15655+29055+39427+50695+68375+85820+96715+118177+145280&tracks=10&id=Kk9PG7qexqJGSVb.8lW3
NosBWQA-
Disc duration: 00:36:41.466, 10 audio tracks

Matching releases:

Artist  : Vampire Weekend
Title   : Contra
Duration: 00:36:41.184
URL     : https://musicbrainz.org/release/936707a6-3095-38cb-9261-329e0e246fd4
Release : 936707a6-3095-38cb-9261-329e0e246fd4
Type    : Album
Barcode : 634904042929
Cat no  : XL CD 429

creating output directory /home/ladmin/be76108f-fb30-4a48-ac02-5c7dec85ed1c/album/Vampire Weekend - Contra
Ripping track 1 of 10: 01. Vampire Weekend - Horchata.flac
<!--snip-->
track  1: rip NOT accurate (max confidence    200) v1 [b478c13a], v2 [b2f4ff09], DB [dd7163f1]
track  2: rip NOT accurate (max confidence    200) v1 [35c8e12c], v2 [23a325ca], DB [6447118d]
track  3: rip NOT accurate (max confidence    200) v1 [19b2830d], v2 [6fbb0ace], DB [bbc0fc6e]
track  4: rip accurate     (confidence   2 of 200) v1 [c90a8d32], v2 [ff73842a], DB [c90a8d32]
track  5: rip NOT accurate (max confidence    200) v1 [e88f4a26], v2 [8ca43311], DB [ac99e11b]
track  6: rip accurate     (confidence   2 of 200) v1 [802049d6], v2 [15d340c3], DB [802049d6]
track  7: rip NOT accurate (max confidence    200) v1 [7a68154d], v2 [8a8af49e], DB [61bfe43a]
track  8: rip accurate     (confidence   2 of 200) v1 [d25d622a], v2 [2efb103f], DB [d25d622a]
track  9: rip NOT accurate (max confidence    200) v1 [8bde388c], v2 [3db82dbe], DB [3bf7b26d]
track 10: rip NOT accurate (max confidence    200) v1 [d0f7e793], v2 [ed4f756b], DB [9bb62c5e]

more supported error codes

types of errors:

  • innacurate rip (acceptable)
  • CRC checks failed: incomplete rip (possibly acceptable; re-rip)
  • Rip timeout: incomplete rip (possibly acceptable; re-rip) (depends on #8 )
  • drive failure -- not experienced
  • uncategorised whipper failure (e.g. #2 )

We should probably have the client detect, log, and report each of these differently. This will require an API change

CSRF everywhere

All POST endpoints are vulnerable to cross-site request forgery. You should mandate that an additional header such as X-Requsted-With to be added to every request and check that it is present when processing.

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.