Giter Club home page Giter Club logo

Comments (4)

sentriz avatar sentriz commented on July 21, 2024 1

sorry i think i don't really like this feature. there's something about it. maybe it's a little specific/spammy/or just creepy

one idea if you want to watch a stream of currently playing track try this

docker compose logs --tail 20 -f main | while read -r line; do id="$(echo "$line" | grep -Po "tr-\K[0-9]+")"; [ -z "$id" ] && continue; echo "playing track $id"; sqlite3 main_data/gonic.db "select artists.name, tracks.tag_title from tracks join track_artists on track_artists.track_id=tracks.id join artists on artists.id=track_artists.artist_id where tracks.id=$id"; done

assuming docker, and your log stream is docker compose logs --tail 20 -f main, and your gonic db path is main_data/gonic.db

from gonic.

sentriz avatar sentriz commented on July 21, 2024

whats the usecase for this? there is some compexity in this since we can potentially stream lots of different file types including podcasts etc

from gonic.

SaveRobots avatar SaveRobots commented on July 21, 2024

To log and understand what parts of my library that my users are accessing. This seems like a pretty common feature for a media library/streaming platform.

from gonic.

SaveRobots avatar SaveRobots commented on July 21, 2024

That is kind of a strange response, considering this was a feature you had previously implemented via request.

I appreciate the alternative solution, but not really what I was looking for. Thanks anyways.

from gonic.

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.