nate-xyz / resonance

Intuitive GTK4/LibAdwaita music player
https://beta.flathub.org/apps/io.github.nate_xyz.Resonance
GNU General Public License v3.0
368 stars 21 forks source link

GStreamer pipeline could not find resource bug #88

Open legacychimera247 opened 1 year ago

legacychimera247 commented 1 year ago

sometimes it happens i press on play and nothing happens, as if song is not there (like the terminal output says)

ERROR resonance::player::gst_backend > Error from elementfilesrc0`: Error { domain: gst-resource-error-quark, code: 3, message: "Risorsa non trovata." } DEBUG resonance::player::gst_backend > Debug info: ../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPlayBin3:playbin3-0/GstURIDecodeBin3:uridecodebin3-0/GstURISourceBin:urisourcebin0/GstFileSrc:filesrc0: No such file "/run/user/1000/doc/c686f3f8/Musica/A/Singles/1998 A - Foghorn (Single)/01 – Foghorn.flac" DEBUG resonance::player::player > PLAYER set_state_state Loading DEBUG resonance::player::state > STATE set_playback_state Loading DEBUG resonance::views::pages::queue::queue_page > paused DEBUG resonance::views::control_bar > paused ERROR resonance::player::player > Player error DEBUG resonance::player::player > player QueueNonEmpty DEBUG resonance::player::state > queue_nonempty DEBUG resonance::player::player > player QueueUpdate DEBUG resonance::player::state > queue_update DEBUG resonance::web::last_fm > Now playing: "{\"nowplaying\":{\"artist\":{\"corrected\":\"0\",\"#text\":\"A\"},\"track\":{\"corrected\":\"0\",\"#text\":\"Foghorn\"},\"ignoredMessage\":{\"code\":\"0\",\"#text\":\"\"},\"albumArtist\":{\"corrected\":\"0\",\"#text\":\"\"},\"album\":{\"corrected\":\"0\",\"#text\":\"Foghorn\"}}}" DEBUG resonance::web::last_fm > Updated now playing

`

nate-xyz commented 1 year ago

A lot of things could be causing this: did you move the file? did you rename the file? did you move your music folder?

Is this happening with one song specifically or when it happens does it happen to every song? If it's the latter, could be related to: https://github.com/nate-xyz/resonance/issues/47

nate-xyz commented 1 year ago

If it's any of the movement / modification possibilities, this should be fixed when I implement https://github.com/nate-xyz/resonance/issues/9

legacychimera247 commented 1 year ago

well i would say it's definitely related to #9 , it happened also after having added some albums to the music folder...