Coder Social home page Coder Social logo

radio's People

Contributors

ligi avatar olelond avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zomblateam

radio's Issues

Make recording optional for DJ's

Some DJ's do not like to be recorded. Some like to review the recordings of their shows before deciding if they want to make them public. And out of principle we should not record if DJ's don't agree.

So I suggest we make seperate mountpoints for recording. This way DJ's can decided to stream to the mountpoints that are recorded.

MetaData in recording

now recordings of a show you want to hear are hard to find

image

we should have some metadata in the name

Only record with the bitrate that is streamed with

Currently we do recordings with a bitrate of 320 - it would be cool to have maxOf(live.bitrate , 320)

# dump live_dj recordings to a file
timestamp = '%H-%M--%d-%m-%Y'
output.file(%mp3(bitrate=320, id3v2=true), reopen_on_metadata=false, "#{basedir}/audio/rec/OMYLiveRecordedOn#{timestamp}.mp3", live, fallible=true)

Live stream rejected with "Incorrect stream type!"

Symptoms:
When a dj tries to stream the encoder seems to connect but says disconnected immidiately.
In the liquidsoap log we see lines like the following:
2021/04/24 16:55:59 [input(dot)harbor_9166:3] Incorrect stream type! 2021/04/24 16:55:59 [mksafe:3] Switch to safe_blank with forgetful transition. 2021/04/24 16:55:59 [input(dot)harbor_9166:2] Feeding stopped: Generator.Incorrect_stream_type.

This happened thursday. Minivibs had to cancel his show. Same night I tried to stream and had the same problem. After restarting liquidsoap service I was able to stream again.

Saturday when starting the dubfabrikken session the same problem occured. I tried to restart liquidsoap service but this time the problem persisted after restart. To check if we had a client side problem we asked Dolle to stream. He was able to stream normally at first. Then he tried again and had the same problem. Everytime the same lines in the liquidsoap log.
Then suddenly, after a 3rd restart of liquidsoap service, we were able to start streaming normally. Then we ran the session without issues from that one (not touching a thing!).

So it seems like we have some kind of race condition or other condition that makes the problem only happens sometimes. This condition seems to sometimes come up after liquidsoap has been running for some time without issues. And also it seems the condition can come up right after restart. Or it might be trigged by clients and be pure coincidence the pattern we see with different dj's having the problem and working again after restart.

MetaData for Live session

maybe we can do some song detection for people that stream from vinyl and do not add MetaData manually

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.