Giter Site home page Giter Site logo

an7ar35 / ctune Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 0.0 52.33 MB

nCurses internet radio player for Linux

License: GNU Affero General Public License v3.0

CMake 1.65% Shell 0.12% C 98.23%
c ncurses radiobrowser-api linux music ffmpeg internet-radio-player terminal-app

ctune's People

Contributors

an7ar35 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ctune's Issues

No audio in pulse and buffer overruns in ctune log

Pre-requirements:

  • Pulse audio installed
  • ctune's config file has IO::Plugin::SoundServer=pulse
  • Pipewire later installed, more specifically pipewire-session-manager (directly or as part of dependencies)1

Symptoms:

  • No sound with pulse but sometimes works if first launched before any other sound applications
  • Buffer overruns in ctune's log and no sound on playing a station
  • pulseaudio Failed to create sink input: sink is suspended. in the journalctl log
  • Firefox has trouble playing any video/audio content but "unblock" if the sound output profile is changed back and forth in the system's audio output panel (in KDE it's the 'audio' panel)

Solution:
Replace pulse audio with pipewire-pulse (via package manager).

Why:
Both pulse audio and pipewire are fighting each other. There can be only one.

Footnotes

  1. Check with systemctl --user list-unit-files | grep pipewire โ†ฉ

Error: 'Failed to capture next audio frame' leads to audio stop

Running ctune 1.2.0 on Arch + Konsole (latest)

While playing a stream, occasionally (every 5-10 minutes, depending on station) will get the error in the title.
Can resume playing by hitting the 'r' key.

Attached log while running --debug.

I experience the issue more frequently on this station: "Technolovers DRUM N BASS"
but it happens on other stations as well.

Rather than stopping completely, I would expect the playback to resume as soon as possible. Maybe there would be an audio drop for a second while the buffers catch up, but not a complete stop just for missing a frame. I have to switch back to the terminal and hit 'r' whenever this happens.

I realize this is ffmpeg throwing the error, but maybe it could be restarted, just logging the error?

ctune_audio_stop.log

resizing Konsole window leads to core dump

While running, grab a corner of the Konsole window (running in Arch, btw ;) and resize. I get the following:

double free or corruption (out)
Aborted (core dumped)

Let me know if you want me to grab a file or run with --debug or anything.
Thanks for the cool tool!

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.