polymorphicshade / NewPipe

A fork of NewPipe with SponsorBlock functionality.
GNU General Public License v3.0
3.22k stars 106 forks source link

Unable to import subscription exported by official newpipe #267

Closed killerrook closed 1 year ago

killerrook commented 1 year ago

Checklist

Affected version

0.24.0

Steps to reproduce the bug

  1. Export subscription using official new pipe
  2. Try to import the aforesaid subscription with new pipe sponsor block
  3. The file picker won't even let you pick the exported file(maybe something wrong with extension or something just guessing)

Expected behavior

Allows me to import subscription

Actual behavior

Doesn't let me pick the exported file

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Color OS v6.0(android 9)

Affected device model

Oppo Realme 1 CPH1861

Additional information

No response

Atemu commented 1 year ago

Does this work in upstream NewPipe?

killerrook commented 1 year ago

I figured out the reason why it's because new pipe doesn't ask for permission for storage at startup so when the import is clicked it launches android file picker but if you go to settings and try to set download location it asks for permission then when you try to import subscription it uses newpipe's native file picker which works fine entirely. The issue only arises because new pipe doesn't ask for storage access permission when trying to import subscription by clicking on import from> previous export under subscription tab.

killerrook commented 1 year ago

Its the same and the issue also exists in official newpipe

killerrook commented 1 year ago

Will open a new issue in official new pipe repository closing this issue now