There will always be piracy, but there is a significant portion of it that can be stopped by having a consumer bill of rights enforced by government. Things like the following list of items:
1) Enforced compatibility. Companies can create content, but should not be able to force it to be used on any particular platform especially when those platforms give them insight into peoples lives. Currently companies leverage their content to force you to use players and software that give them additional creepy insight into your life. You should be able to use any player or OS software of your choice that allows you to block any information exchange other than the bare minimum to ensure the content was paid for appropriately.
2) No phone home routines, or at the very least no phone home routines that cannot be declined and VERIFIED to be declined. Pinned certificates should be outlawed. It should ALWAYS be possible for the owner of any device to make their own decision to install a proxy and their own certificates to create an authorized man in the middle to be able to verify what their devices are sending in and out of your network about you giving you the ability to block it.
3) Intellectual property can be sold as either IP or a thing. Not both. Companies must choose one or the other at creation time. If you choose to sell your product as intellectual property, then the license can only be sold once. Once you have purchased rights to the IP, you can use that IP in any way and acquire it from any source of your choice for life. If you buy it on CD and it was sold as IP and NOT as a thing, then you bought rights to use the software or music or movie forever even if it shows up on new media types. If a company decides to sell it as a thing, then it is yours outright and they have no more right to limit you in any way shape or form.
4) Rights to usage must be equal across all platforms. Right now you have stupid shit like Youtube being free to use and able to be used mostly anonymously when you are on a PC platform. But if you move to Kodi, iphone or especially android, the android platform is controlled by Google directly, so they have the ability to do stupid shit like enforce that you can't play videos in background unless you pay. On PC that ability is explicit. Most of this would be nullified by BoR #1 above.
5) This one is the biggest of them all. Guaranteed separation of software and hardware in all cases. From phones and tablets to TV's to automobiles. If companies attempt to do stupid shit like artificially crippling features that are inherent in software for the purposes of selling that functionality back to you, it absolutely should be a right to remove their software and apply your own and it should be illegal for companies to write the software or design the hardware in any way that makes this difficult or impossible.