Code Monkey home page Code Monkey logo

Comments (3)

steve8x8 avatar steve8x8 commented on June 16, 2024

I've been thinking about this... is this the right place for discussions?

If this gets implemented (perhaps controlled by an option switch), please keep track order by prefixing the new information by (at least) the track number (with two digits, see #51).

Checking the available information inside the ogg stream after decoding, I found that there are ARTIST and ALBUM entries in the (so called by ogginfo) "User comments section" for normal tonies; creative tonies setup with free content seem to lack them though. (I didn't use the -j tonies.json option to Teddy.exe for decoding, btw, this appears to have used the default one.)
If available they might be used for an extra directory structure (mimicking the one on the vendor site) - controlled by another switch? (Instead of ALBUM, also the tonieName might be used?)

I was missing track name or sequence number. Neither Teddy nor TeddyBench appear to provide them yet (there are only a few tags.Add() statements).
Perhaps it needs another issue to request those to be added - at least if there's information becoming available (via #30)?

from teddy.

steve8x8 avatar steve8x8 commented on June 16, 2024

Since a second "mention" does not show up here: In #30 there are scraper scripts which return track lists. Let's have ARTIST, ALBUM and TRACK fields in the "User comments", and in a next step use them for friendlier filenames!

from teddy.

steve8x8 avatar steve8x8 commented on June 16, 2024

Using a two-step approach this is already possible: -m info (among other information) outputs the tonie name (Header: JSON Name) and track titles (section Header: Chapters, prefixed with Track #xy and the track runtime).

Due to #51, I'd recommend to run rename 's~#~#0~' *#?.* in the target directory first (so filenames match the "info" track numbering), then extract the Track #xy part from the filename and grep that in the m info output ... (Check whether there's a title available at all!)

An all-in-one solution is clearly preferred, thus I'm holding back my (immature but working...) script now.

from teddy.

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.