abba23 / spotify-adblock

Adblocker for Spotify
https://github.com/abba23/spotify-adblock
1.88k stars 93 forks source link

Error: No config file #185

Open rabin-io opened 1 month ago

rabin-io commented 1 month ago

When running Spotify from Flatpak on any folder, i get this error,

❯ flatpak run --file-forwarding --command=sh com.spotify.Client -c 'eval "$(sed s#LD_PRELOAD=#LD_PRELOAD=$HOME/.spotify-adblock/spotify-adblock.so:#g /app/bin/spotify)"'

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

[*] Error: No config file
[+] cef_urlrequest_create:       https://clienttoken.spotify.com/v1/clienttoken
[+] cef_urlrequest_create:       https://apresolve.spotify.com/?time=1728205103&type=accesspoint
...

But when I navigate to the config folder, and execute the command from there, it's working

❯ flatpak run --file-forwarding --command=sh com.spotify.Client -c 'eval "$(sed s#LD_PRELOAD=#LD_PRELOAD=$HOME/.spotify-adblock/spotify-adblock.so:#g /app/bin/spotify)"'

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

[*] Config file: config.toml
[+] cef_urlrequest_create:       https://apresolve.spotify.com/?time=1728205271&type=accesspoint
[+] cef_urlrequest_create:       https://apresolve.spotify.com/?time=1728205271&type=accesspoint&type=spclient&type=dealer
XR1MAN commented 6 days ago

Does it work for you? i think spotify changed their links

rabin-io commented 5 days ago

Its only the config file, it seems like the fallback to working-dir and searching on the user profile and /etc