Skip to content

Commit

Permalink
Merge pull request #393 from madeofpendletonwool/completion-nextcloud
Browse files Browse the repository at this point in the history
Fixed up nextcloud issues and added completion
  • Loading branch information
madeofpendletonwool authored Jan 14, 2025
2 parents 46c8385 + 4d28821 commit d1dd570
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 83 deletions.
3 changes: 2 additions & 1 deletion clients/clientapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2370,8 +2370,9 @@ async def run_refresh_process(user_id, nextcloud_refresh, websocket, cnx):
})

# Refresh this podcast
print(f'is it youtube?: {is_youtube}')
try:
if is_youtube:
if is_youtube is True:
# Extract channel ID from feed URL
channel_id = feed_url.split('channel/')[-1] if 'channel/' in feed_url else feed_url
channel_id = channel_id.split('/')[0].split('?')[0]
Expand Down
24 changes: 24 additions & 0 deletions completed_todos.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,36 @@ Version 0.7.3
- [ ] Ensure youtube videos update completion/listen time status correctly
- [ ] check refreshing on episode/other youtube related pages
- [ ] Make /episode page work with youtube
- [ ] Bad url while no channels added
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: ==================================================
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Starting YouTube channel processing
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Podcast ID: 65
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Channel ID: https:
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: ==================================================
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Cutoff date set to: 2024-12-14 14:02:27.888506+00:00
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Initializing YouTube-DL with options:
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: {'quiet': True, 'no_warnings': True, 'extract_flat': True, 'ignoreerrors': True}
pinepods-1 | [2025-01-13 14:02:27] [INFO] - database_functions.youtube: Fetching channel data from: https://www.youtube.com/channel/https:/videos
pinepods-1 | ERROR: [youtube:tab] https:: Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube: Initial channel data fetch successful
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube: Raw result keys: No results
pinepods-1 | [2025-01-13 14:02:29] [ERROR] - database_functions.youtube: No video list found in results
pinepods-1 | [2025-01-13 14:02:29] [ERROR] - database_functions.youtube: Available keys: None
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube:
pinepods-1 | Cleaning up database connection
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube: ==================================================
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube: Channel processing complete
pinepods-1 | [2025-01-13 14:02:29] [INFO] - database_functions.youtube: ==================================================
pinepods-1 | [2025-01-13 14:02:29] [WARNING] - psycopg.pool: rolling back returned connection: <psycopg.Connection [INTRANS] (host=db user=postgres database=pinepods_database) at 0x7f746da62450>


- [ ] Container can be ran as host machine user
- [ ] Nextcloud Sync Fixed
- [ ] Episode Completion Status is now pushed to Nextcloud/Gpodder
- [ ] Adjusted Downloaded Episode titles to be more descriptive
- [ ] Fixed issue with news feed adding
- [ ] Additional Podcast parsing when things are missing
- [ ] Add pinepods news feed to any admin rather than hard id of 2

Version 0.7.2

Expand Down
Loading

0 comments on commit d1dd570

Please sign in to comment.