-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add import newpipe subscriptions to plugin feed #72
add import newpipe subscriptions to plugin feed #72
Conversation
Condition: - i have multiple channel subscriptions on youtube - i have move these channel subscriptions to newpipe subscriptions file (newpipe-subcriptions.json) Expected: - i want to follow these youtube subscriptions via the plugin feed Result: - it is hardwork to add youtube channel subscriptions to plugin feed one by one - there is no way to import newpipe-subcriptions.json via plugin settings this patch add import newpipe-subcriptions.json to plugin feed. Reference: lekma#53
unfortunately I have no way to test all that at the moment, so I'll have to trust that you did test somewhat extensively, right? for thre removeAll in persistence.py I would rename it to clear and call super on it (see SearchCache and SearchHistory in the same file). thanks for the contribution |
sorry, i only test it against my newpipe-subscriptions.json. I'll try my best to mitigate such case.
i will thanks for your reply and suggestion |
@lekma, CJK charactersCondition
Expected
Actual
Solution Emoji CharactersCondition
Expected
Actual
Solution This means:
|
good, this is what i wanted to confirm
this is an old kodi constraint/bug (it does not use system fonts), as you experienced, there isn't much we can do, as users, but tinker with the fonts... question: is the clear() before importing really necessary? if you have common ids between the ones already existing and the ones being imported they will be updated, right? (there is no need to fix in the pr, i'll adjust before release) request: would you mind attaching your json file (unless there is sensitive info inside) or point me to a sample i can download so that i can at least pretend i tried to test the feature 😄 ? |
also, thanks again for the contribution @aiosk: it seems I forgot to tag you |
would you mind testing current master (or the file attached) and report? thanks for your help @aiosk: forgot to tag you |
no,
well i don't mind posting a subset of my json file.. newpipe-subscriptions.json{
"app_version": "0.19.8",
"app_version_int": 953,
"subscriptions": [
{
"service_id": 0,
"url": "https://www.youtube.com/channel/UCGwyhqmF7HopVsbIigVTKmw",
"name": "HIVI ©"
},
{
"service_id": 0,
"url": "https://www.youtube.com/channel/UCDom90xOqP4avehFjSJO6NA",
"name": "Sick Science!"
},
{
"service_id": 0,
"url": "https://www.youtube.com/channel/UCH6vXjt-BA7QHl0KnfL-7RQ",
"name": "Simon's Cat"
},
{
"service_id": 0,
"url": "https://www.youtube.com/channel/UCCsosBSGwE7TeaogXcmgV_Q",
"name": "피클"
}
]
} |
i tested it.. thank you @lekma |
Condition:
Expected:
Actual:
Known Issue:
i have to save
subscription path
to settings.xml by clickok
first before i can runimport to feed
.ideally i want
import feed
after i setsubscription path
without clickok
firstReference:
Tips
convert youtube channel to newpipe-subcriptions.json
open https://www.youtube.com/feed/channels
login to your account
open web console. see firefox, chromium
copy paste this snippet, then press enter
snippet.js
copy and paste dialog content to new file named newpipe-subcriptions.json