The hell it isn't. A unit test is a bench test for one particular functional unit. It's a check function. If you accept that tests as carrying intent, then I demand every weapons researcher or biologist to be arrested this instant. Clearly they are only out to murder people. That is patently ludicrous.
> If you accept that tests as carrying intent, then I demand every weapons researcher or biologist to be arrested this instant. Clearly they are only out to murder people.
Well, what do you think weapons are for? I’m not saying arrest them but that isn’t really a great example, considering the sole purpose of weapons is to kill or destroy. Using weapons for anything other than killing or destroying is basically a secondary usage.
One of the tests in question extracts the m4a audio file of a Taylor Swift song [0] that has nearly 3 billion views and shows me 2 ads before playing. That's a lot of revenue for UMG, who I guess are a bit unhappy with this mechanism that youtube-dl provides of listening to it without having to watch the ads.
So it's only a problem if the video has a lot of views and ads?
If that's the case, we should ban all Pi-holes, too, as they _can_ be used to block ads.
What if I have YouTube Premium, then I don't see ads, so am I allowed to download via youtube-dl?
> So it's only a problem if the video has a lot of views and ads?
Pretty much, yes. No one is going to hire expensive lawyers to enforce copyright on something not generating revenue, although legally they can.
> If that's the case, we should ban all Pi-holes, too
If Pi-hole is anywhere saying or implying "use us to watch $vendor's content without watching their ads" then yes pi-hole is waving a red flag at $vendor who is now motivated to try to ban pi-holes. If there is a legal action they can afford to take they will.
> What if I have YouTube Premium, then I don't see ads, so am I allowed to download via youtube-dl?
No, downloading is a separate "right" from the right to watching without ads. (Downloading is the first step before uploading elsewhere and literally stealing the ad revenue.) But I think there's a legal grey area if you're watching (streaming) with youtube-dl, without saving the file. I'm sure it's against Youtube's TOS though.
Are you sure you want to say it's literally stealing the ad revenue? I would imagine literally stealing the ad revenue would require robbing the bank or safe where the ad revenue money is stored.
Yes. You have reduced the amount of cash they have and increased the amount you have by the same amount. If that's not stealing I don't know what is.
Trying to say that's not stealing is like trying to say
"Someone hacked into to my bank account and "obtained" my money" is not stealing either just because there was no physical cash involved.