Comments (5)
I've currently resorted to a "ping" and service restart if that fails using Drupal. It's checking at most once every 5 minutes. This is why I've added the "pick up where left off playing last time" code to the dev branch - prevents the streams from jumping back to 0 every time a restart happens.
from deefuzzer.
Well, after a server-level update and reboot, everything seems to be working much better (3 days since reboot and no more crash/restarts). If I don't have any more crashes in a few more days, I'll close this issue.
from deefuzzer.
Good news!
But ping_server() technic is really nasty although it is the only simple method I found to check if the network is ready (and then waiting silently). Would you see another method for this?
from deefuzzer.
Well, my "ping" checks are actually grabbing the stream status from the icecast server, parsing it, and checking to see if there are any active mountpoints. The symptom is that the source connections close, so icecast reports an empty server status for streams that are sourced from deefuzzer. If this check returns no valid deefuzzer streams, I fire off a root-level service deefuzzer restart
(through a shell script and sudo abstraction layer for security). The restart does a kill -9
before launching another instance of deefuzzer to ensure things are stopped properly.
I'm not sure about network status pings between deefuzzer and the icecast server - ping_server seems to be the least of bad options.
from deefuzzer.
Solved a different way via #45
from deefuzzer.
Related Issues (20)
- Will this application no longer be supported? HOT 1
- simple mp3 streaming server HOT 5
- Add a verbose mode
- Deefuzzer and Radio DJ HOT 3
- TTS - Feature Request HOT 1
- icecastloop_metadata: Error: 'Station' object has no attribute 'song' HOT 2
- Installation on Ubuntu 22 ARM: list of updated dependencies HOT 2
- Error: can't sync to MPEG frame HOT 1
- STREAM-M
- Is there a way to have jingles play between every nth song instead of between every song? HOT 1
- What is the best way to call playlist.py to regenerate a new playlist.m3u? HOT 3
- Could not send the buffer HOT 2
- Display album name HOT 1
- Can DeeFuzzer do this? HOT 1
- What DeeFuzzer can do? HOT 1
- Playlist reload interface
- segmentation fault (core dumped) HOT 2
- pkg_resources.DistributionNotFound: The 'pycurl' distribution was not found and is required by DeeFuzzer HOT 3
- deefuzzer install failer: ERROR: Command errored out with exit status 1: HOT 10
- OSCController object has no attribute HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deefuzzer.