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
[Bug]: Adding a playlist to the download queue doesn't work if the playlist has been subscribed to before #634
Comments
I'm not exactly sure what the conditions are for it to fail like this so title is probably wrong |
Are these videos downloaded and just not in the playlist? Also check your ignore list, to check you haven't ignored it before. |
Checking in with @zombachu to confirm if this is now resolved for you. |
The videos haven't been downloaded or ignored.
Haven't tried on 0.4.5 yet but is still an issue on 0.4.4. Will test and report back when I have some time. |
@lamusmaser Still present on 0.4.5. Do you guys want any logs or other info from me before I try deleting and readding the playlist in tubearchivist? |
I'm getting the same issue. It'll work the first time if you delete the playlist and re-add to the queue (without subscribing). But later when you add the playlist to the queue again, it'll parse the playlist and say it's adding the new videos to the queue in the docker logs, but the videos never shows up on the actual queue for some reason. |
Let's get some complete logs to review. |
Addresses the bug tubearchivist#634 inside playlist.py ``` def build_json(self, scrape=False): ... if scrape or not self.json_data: ``` self.json_data will only be empty if the playlist has never been indexed. Since `scrape` defaults to `False`, both conditions mean subsequent playlist downloads will never do any scraping. Adding `scrape=True` to the parent call fixes this scenario (tested on my own setup). Note that playlists don't seem to update via subscriptions scans still. I suspect we need a similar fix there, but I don't have the bandwidth to dig into that atm.
I'm able to reproduce this. It gets confused because the playlist is already indexed, need to handle that separately. |
That should now be fixed with v0.4.8, please update. |
I've read the documentation
Operating System
Synology
Your Bug Report
Describe the bug
I had a playlist I was subscribed to but was behind in archiving by a couple months, so I wanted to sync it all at once by adding it to the download queue. However, none of the missing videos were added and the playlist unsubscribed itself and marked itself as deactivated too. Logs show TubeArchivist was able to get the playlist from the url I provided but it seemed to only check the videos it already had. Resubscribing to the playlist and doing rescan subscriptions didn't pick up the unarchived videos either. I'm able to add the videos individually manually so I don't think it's an access issue but I really really do not want to need to do this.
Steps To Reproduce
Expected behavior
The unarchived videos to be added to the download queue
Relevant log output
Anything else?
Current playlist status, shows "Last refreshed: 2023-10-15" despite my efforts above
Playlist in TubeArchivist
Playlist in YouTube (unarchived videos highlighted)
The text was updated successfully, but these errors were encountered: