Code Monkey home page Code Monkey logo

stream-observer's People

Contributors

simpelme avatar

Watchers

 avatar

stream-observer's Issues

Clean up examples

Add new example for option -x
It seems to be needed only for debugging. So introduce an example for it in README.md and strobs.1.

Prove all other examples or find new ones.

Sort algorithm is strange

Servers from icecast in following order:

q1
stewone2
stewone

Filled with zeros:

q00001
stewone00002
stewone00000

Sort -n:

q00001
stewone00000
stewone00002

Zeros deleted:

q1
stewone
stewone2

Seemed to be less characters before digits result to upper position.

Remove option -s

Think about it. Seems to be sorted at icecast anyway so could be unnecessary.

Remove option -a

No streams are to show if icecast isn't sending. So the -a (all) option is w/o sense.

Add option -ingest

For sync tests it's better to see the ingest input instead of streaming endpoint. Did that option but removed it. Don't know why.

online playlist via http/https not played

It's checking only for file on computer:

if [ ! -f "${PLAYLIST}" ]; then
    printf "%b\n" "${YELLOW}Warning: playlist '${PLAYLIST}' does not exist${NC}" 1>&2
    exit 1
fi

Should be checked if available and played

Repair F9

input.conf:
F9 show_text ${track-list} # show list of audio/sub streams
not working.
But F9 is working this way if same stream is called with mpv directly.

Disable ANSI colored output if NO_COLOR is set

Regardless of it's value.

But in addition enable color if STROBS_COLOR is set.
If NO_COLOR is set globally setting STROBS_COLOR=true (or anything else) will make color usable in strobs but not other programs.

Define keys for room 1-6 and audio 1-3

Skipping audio with #(hash) is always toggling over 0/3 meaning mute. That’s not fine.
So define keys for

  • 1 native
  • 2 translated 1
  • 3 translated 2
    Currently not sure which keys are good.

Rooms could be switched with keys 1-9 or 0.

Extend option -j

Add icecast-status.xsl of both live.ber and ingest server.
Think about to not delete current-playlist.m3u8 if option is set.

Embed remote voctocat.png

If local voctocat is missing write remote one into playlist.
Path could be http://simpel.cc/voctocat.png

Exit while option -j

Option -j is used to catch all the json (and current playlist). Mostly there is no mpv action needed. So skip this and exit w/o opening mpv.

Rebuild option -f

It is not useful to try streams found in streaming.json any more.
But is could be useful while option -p if check for existing remote playlist returns no result. With this you can open streams directly not catched by curl.

Think about description in README.md and strobs.1 carefully.

Enhance description of option -n

As technical name is default from icecast it will happen that there is a technical name only if streaming.json shows no current (or future) streams.

Untrack complete-playlist.m3u8

Keep it local only. Maybe use it later as a name list for s1-199.

git rm --cached complete-playlist.m3u8

Remove it from .gitignore exception too.

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.