Closed Yumega closed 1 year ago
You will have to find the architecture of this machine, at the moment only arm64, amd64 and armv7 are supported.
You will have to find the architecture of this machine, at the moment only arm64, amd64 and armv7 are supported.
my machine is x86 I have successful lauched the page now, but it can't generate RSS, the container name vod2pod-api_keys-1 auto exit.
I set my key like this
YT_API_KEY=AIzaSyDDzD2kidMo_KgNot1DB93eYR08jwFE2 like this not the real one
vod2pod-api_keys-1 auto-exiting is normal, and the API key looks good (you can even leave it blank for now, it works even without it, slower but it works, at least you have less things to worry about for now).
can you share your logs for the vod2pod container? Also set RUST_LOG to DEBUG
I did not made any x86 image though, so I don't know how you got it to launch without a docker compose build
(BTW this wont work without a git clone and editing the docker-compose vod2pod build context, also the podtube dependency which is required when using the API key does not offer x86 images, you will have to build that too, if you are really using x86)
stdout: 2023-06-25T20:57:14.749Z INFO [app] app version 1.0.2 stdout: 2023-06-25T20:57:14.751Z INFO [app] starting server at http://0.0.0.0:8080 stdout: 2023-06-25T20:57:14.751Z INFO [actix_server::builder] starting 4 workers stdout: 2023-06-25T20:57:14.751Z INFO [actix_server::server] Actix runtime found; starting in Actix runtime stdout: 2023-06-25T20:57:36.229Z INFO [app] serving homepage - User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36, Remote Address: 192.168.11.212, Referer: http://192.168.11.1/
page lanuched
OpenWRT
Seems all good to me, what happens when you try to generate something?
If you give it this link
https://youtube.com/@LinusTechTips
Does it work?
wow, the problem was the key, after I leave it blank , it works now. ( I don't know what's wrong with the key)
Anyway, seems like it's an x86_64 also know as amd64 so that's probably why it's working, it's a supported architecture 😉
The key is only really needed for faster generation or if you need Playlist support, when using the key also check the podtube container for error logs
I will try new key tomorrow. Thank you a lot.
The key is only really needed for faster generation or if you need Playlist support, when using the key also check the podtube container for error logs
It refuses generate RSS with my own api key
stdout: 2023-06-26T05:26:55.116Z INFO [app] app version 1.0.2 stdout: 2023-06-26T05:26:55.117Z INFO [app] starting server at http://0.0.0.0:8080 stdout: 2023-06-26T05:26:55.118Z INFO [actix_server::builder] starting 4 workers stdout: 2023-06-26T05:26:55.118Z INFO [actix_server::server] Actix runtime found; starting in Actix runtime stdout: 2023-06-26T05:27:07.126Z INFO [app] serving homepage - User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36, Remote Address: 192.168.11.212, Referer: http://192.168.11.1/ stdout: 2023-06-26T05:29:25.780Z INFO [vod2pod_rss::url_convert] trying to convert youtube channel url https://www.youtube.com/@wangzhian stdout: 2023-06-26T05:29:25.782Z INFO [vod2pod_rss::url_convert] conversion not in cache, using yt-dlp for conversion... stdout: 2023-06-26T05:29:28.281Z ERROR [app] could not translate rss stdout: 2023-06-26T05:29:28.281Z ERROR [app] error sending request for url (http://podtube:15000/youtube/channel/UCBKDRq35-L8xev4O7ZqBeLg): error trying to connect: dns error: failed to lookup address information: Name or service not known
page screenshot
docker-compose.yml screenshot
Do you have a podtube section in your docker compose file? Is it possible that you removed it by mistake?
podtube: #remove this section if you don't need improved youtube support
extends: api_keys
image: ftawesome/podtube
restart: unless-stopped
environment:
- YT_AUTOLOAD_NEWEST_AUDIO=False
Do you have a podtube section in your docker compose file? Is it possible that you removed it by mistake?
podtube: #remove this section if you don't need improved youtube support extends: api_keys image: ftawesome/podtube restart: unless-stopped environment: - YT_AUTOLOAD_NEWEST_AUDIO=False
You're right, after I add these code back, it works now, Thanks for your excellent contributions.
You're welcome, I'll close the issue then, if you still have some problem feel free to reopen it ✌️ Enjoy the project!
app version: X.X.X
issue description: in docker-compose.yml
Set your YouTube API key
is this right?