YouTube2PeerTube
YouTube2PeerTube copied to clipboard
Upload fails for Peertube2
I tested this script on a peertube2 instance, but the upload always fails
uploading T8aNDavyGho to Peertube...
you have no tags in your configuration file for this channel
<Response [400]>
error !
Problem seems to be pt_channel_category
, it works when i comment it out in line 176
Thank you, i will look into this. @georgkrause can you give me some more information? Is this issue specific to a particular instance? what is the version number of the instance where this happens? is the configuration file different between two channels/instances you are using? Specifically the tags and categories? Thanks.
Actually I just tried on one instance: https://tube.netzspielplatz.de Sadly I do not have access to any log files on this server. I could try to test on another server tomorrow. I currently use this script with this line commented out, which works quite well.
Alright I'll leave thisbooen though, feel free to update me if you figure anything else out and I will try to get to the bottom of it when I get a chance.
Had this error too, setting the category to a known good one worked.
@toogley can you give me some details? Did you set the category to a number, or to one that does not exist in Peertube?
animals
for instance worked. initially, i wanted to upload to news & politics
, but that failed, as far as i remember. -> i think the list is outdated.
Alright I'll look into it and update the list. Thanks a lot for the feedback.
https://github.com/Chocobozzz/PeerTube/blob/develop/server/initializers/constants.ts#L325
There is the list with currently supported Categories.
I'm currently getting an error 400 every time it goes to upload a video, but not sure if it's this issue. I've got my categories set to ones from the official peertube list. It doesn't provide any other output other than error 400.
Have you tried turning download off and using Peertube HTTP mirror directly? See if that works.
Have you tried turning download off and using Peertube HTTP mirror directly? See if that works.
What’s weird is when I do that manually on my instance itself, it works. But when I enable the option on YouTube2PeerTube it still gives error 400
I have the same problem. I get a <Response [400]>
when I try to import videos to my Peertube instances with the following setting use_pt_http_import = "false"
. For info I have my Peertube instance set up with Docker.
If I use the obtion use_pt_http_import = "true"
the import works but the research image is unfortunately not the right dimensions.
I also tried to set the correct pt_channel_category
but it doesn't work.
Is there a solution for this problem?
I have created a PR #20 that should fix the problem.