Code Monkey home page Code Monkey logo

Comments (4)

spl0k avatar spl0k commented on July 17, 2024

Yeah, feel free to do any pull request :)

Didn't thought about the license. I don't know which one allows what and I feel kinda lost in all this legal mumbo jumbo.

from supysonic.

spl0k avatar spl0k commented on July 17, 2024

22e2d35 + 2d0774a
I'll write the doc about transcoding configuration later.

from supysonic.

andrenam avatar andrenam commented on July 17, 2024

Hi, nicely done. Very flexible system. 👍
I see one problem with scanner.py though. Mutagen cannot determine a bitrate for flac files.

tr.bitrate  = tag.info.bitrate / 1000

will not work for flac files. But supysonic needs the bitrate information in api/media.py to compare it with maxBitrate to decide if transcoding is necessary. Please have a look at how I did that: andrenam@5081daf

# estimation: filesize in kbit / length
tr.bitrate = int(((os.path.getsize(path)*8)/1000) / tag.info.length)

from supysonic.

spl0k avatar spl0k commented on July 17, 2024

Oh I wasn't aware of that, thanks. Fixed.

from supysonic.

Related Issues (20)

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.