Importing subscription from Newpipe result in crashes
spazziale opened this issue · comments
I'm using the flatpak version and when I try to import subscription ( in json format ) from the latest version of NewPipe ( from Fdroid ) it crashes.
OS: Fedora 37 workstation
Coud you share more information? Logs would be useful (run RUST_LOG=tubefeeder=trace flatpak run de.schmidhuberj.tubefeeder
) and if you are open to sharing your subscriptions, the exported subscriptions from NewPipe would also be useful (if you don't want to share it publicly but are open to sharing it just with me, you can send it to me via Matrix if you want).
Logs:
(process:2): Adwaita-WARNING **: 20:48:18.079: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[2022-12-08T19:48:18Z DEBUG tubefeeder::csv_file_manager] A error opening the file occured
[2022-12-08T19:48:18Z DEBUG tubefeeder::csv_file_manager] A error opening the file occured
[2022-12-08T19:48:18Z DEBUG tubefeeder::gui::feed::feed_page::imp] Reloading
[2022-12-08T19:48:18Z DEBUG tubefeeder::csv_file_manager] A error opening the file occured
[2022-12-08T19:48:22Z DEBUG tubefeeder::gui::import_window] Import from NewPipe
(tubefeeder:2): GLib-CRITICAL **: 20:48:22.436: g_variant_new_string: assertion 'string != NULL' failed
[2022-12-08T19:48:24Z TRACE tubefeeder::gui::import_window] User picked file to import from
thread 'main' panicked at 'NewPipe URL to start with the youtube URL', src/import.rs:41:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Content of the file:
{"app_version":"0.24.1","app_version_int":991,"subscriptions":[{"service_id":0,"url":"https://www.youtube.com/channel/UC5UAwBUum7CPN5buc-_N1Fw","name":"The Linux Experiment"},{"service_id":3,"url":"https://tilvids.com/video-channels/thelinuxexperiment_channel","name":"The Linux Experiment"}]}
The problem is the tilvids.com
channel (all non-youtube channels), they are currently not supported. I will try to create a fix that will ignore such channels in the next few days.