Unable to find option to enable playback from RAR archives
#1
After upgrading to Ubuntu 18.04.1 today, I had to do a reinstall of Kodi (apt-get) to get my media center up and running again on my Intel NUC. Now I am unable to play RAR archives – a feature I really enjoyed as it enabled me to automatically download shows and movies from my favourite tracker and not having to ssh in and unrar anything at all, instead just letting rtorrent and flexget do their magic behind the scenes. I know there should be an option to enable playing directly from RAR archives in the settings, but I can not find it, neither in Unity (my skin of choice), Confluence or Estuary, and any info I find on the internet (including this forum) about enabling this option seems to be outdated. Are there any alternative ways of enabling this feature, i.e. through a config file or something similiar?

Here's my debug log (which probably won't do you any favours, but since it's compulsory...): http://paste.kodi.tv/icijudihuq
Reply
#2
Make sure to properly install: kodi-vfs-rar package
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Trying that now, but it seems the kodi-vfs-rar addon will only compile correctly if I also compiled Kodi myself, instead of installing it through Ubuntu's apt repositories. Which is something I apparently cannot do, as the team-xbmc repositories are blocked by Ubuntu 18.04.1, seemingly for security reasons...

Why on earth would anyone remove rar support from Kodi 18? It used to work like a charm!
Reply
#4
(2018-11-05, 23:10)stian Wrote: Trying that now, but it seems the kodi-vfs-rar addon will only compile correctly if I also compiled Kodi myself, instead of installing it through Ubuntu's apt repositories.

Why do you think so?

(2018-11-05, 23:10)stian Wrote: Why on earth would anyone remove rar support from Kodi 18?

Kodi is a media player, so it's core feature is to play media files, not to read rar files. That's the reason why rar support was moved into an add-on.
Reply
#5
(2018-11-05, 23:10)stian Wrote:  as the team-xbmc repositories are blocked by Ubuntu 18.04.1, seemingly for security reasons...
huh? Please elaborate on this, since I have no idea what you are talking about
Reply
#6
(2018-11-06, 10:13)wsnipex Wrote:
(2018-11-05, 23:10)stian Wrote:  as the team-xbmc repositories are blocked by Ubuntu 18.04.1, seemingly for security reasons...
huh? Please elaborate on this, since I have no idea what you are talking about        

Sorry, I had things confused, as this was an error I got while trying to install an earlier version of Kodi through the ppa:team-xbmc/kodi-old repo. Which gives me this error:

E: The repository 'http://ppa.launchpad.net/team-xbmc/kodi-old/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


That was what I was referring to. As you have probably figured, I am not exactly a Linux expert.
(2018-11-06, 09:02)Rechi Wrote:
(2018-11-05, 23:10)stian Wrote: Trying that now, but it seems the kodi-vfs-rar addon will only compile correctly if I also compiled Kodi myself, instead of installing it through Ubuntu's apt repositories.
Why do you think so?      

Because that is how I interpret the readme on the GitHub page for the kodi-vfs-rar addon, which reads:
 
When building the addon you have to use the correct branch depending on which version of Kodi you're building against. For example, if you're building the master branch of Kodi you should checkout the master branch of this repository. Also make sure you follow this README from the branch in question.

Linux
The following instructions assume you will have built Kodi already in the kodi-build directory suggested by the README.

git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/xbmc/vfs.rar.git
cd vfs.rar && mkdir build && cd build
cmake -DADDONS_TO_BUILD=vfs.rar -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/kodi-build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make

The addon files will be placed in ../../xbmc/kodi-build/addons so if you build Kodi from source and run it directly the addon will be available as a system addon.


I tried this, and all the compiled files ended up in ~/xbmc/kodi-build/, and not in ~/.kodi/, where the files are installed when installing Kodi through apt-get. The GitHub readme does not inform on how one can manually edit the files as to make sure the compiled files end up in the "right" folder. And as I am not an expert, I am therefore clueless. I tried copying the files from ~/xbmc/kodi-build/addons to ~/.kodi/addons, but that did not work. I was still unable to play directly from RAR archives.

This is just too difficult. If removing the RAR playback functionality was so important, couldn't this addon at least have been placed as a searchable and installable addon directly in the Kodi addon interface? If nothing else than to make it easy on people who do not have a Ph.D. in Linux? What is the point of being directly user-hostile?
(2018-11-06, 09:02)Rechi Wrote:
(2018-11-05, 23:10)stian Wrote: Why on earth would anyone remove rar support from Kodi 18?
Kodi is a media player, so it's core feature is to play media files, not to read rar files. That's the reason why rar support was moved into an add-on.    

But where do people get these media files from? From the warez scene groups who pack their releases in RAR archives. They always have, and they always will. This functionality in Kodi was absolutely brilliant. For someone like me, who only download the best possible encodes, a movie usually costs me between 25 to 40 gigabytes of disk space. A full season of a TV show can run up to 50-100 GB. In order to keep these torrents seeded, I have to retain the RAR archives. If I have to unrar all the archives in order to play them through Kodi, I would have to go through the painful process of unrar-ing every single movie and episode, and thus I would have to increase my disk space with roughly 100 percent. Why not just keep this functionality in Kodi? How much space was there to save on removing it? A couple of megabytes? I can't imagine it would need that much maintenance either. And as I said earlier, if it had to be removed, why not add the RAR addon to the addon section of the Kodi GUI for a user-friendly way to get the feature back?

I have tried more or less everything to get Kodi running again with RAR playback functionality – installing through Ubuntu repos, installing older version of Kodi through apt-get and even this highly sketchy method of installing Kodi 16.1 on Ubuntu 18.04. I now have a install of Kodi that does not function. It will not start. Why? Because I'm no expert and therefore I have f**ked everything up. It shouldn't be this difficult. The only option remaining, as I see it, is to do a complete reinstall of Ubuntu and to hope I get it right this time, but getting everything running as it did under Ubuntu 17.04 with Kodi 17 (with RAR playback) is just too much of a hassle and potentially wasted hours or even days, so as of right now I will not be using Kodi anymore.
Reply
#7
It is simple if you use the correct PPA, if you want latest Stable which is v17 then use https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa and if you want the v18 Betas then use https://launchpad.net/~team-xbmc/+archiv.../unstable/
Reply
#8
(2018-11-06, 20:24)stian Wrote: Because that is how I interpret the readme on the GitHub page for the kodi-vfs-rar addon, which reads:
 
When building the addon [...]

It means exactly what it tells, if you want to build the addon you have to do the following.
It doesn't say you have to compile it yourself if you want to use the addon from our ubuntu PPA.
Reply
#9
Hello! I Also cannot find that option. I upgraded today to Leia and RAR support is missing. I installed kodi-vfs-rar (apt-get install kodi-vfs-rar) and nothing. There is also no VFS option in the addons part, so I cannot find the addon. I have Kodi Leia in Ubuntu linux 18.04 i386. Thanks in advance.
Reply
#10
install kodi-vfs-rar via apt-get
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
Yes, I did that but I'm still unable to see that option in the addons section, nor my Kodi can see the content of rar files...
Reply
#12
I've seen that this package installs some libs in /usr/lib and the addon.xml in /usr/share, but there's nothing in my .kodi/addon folder. Maybe is missing some sort of configuration that I might do to enable it?
Reply
#13
Well, solved, I'm very dumb. I could not find it in addons download, it was already in "my addons". It was disabled, enabling and restarting worked. Thanks and sorry for bothering.
Reply
#14
for future reference: please point people to vfs.libarchive not vfs.rar. vfs.rar is deprecated.
Reply
#15
Sorry again, I'm confused. So, I must install vfs.libarchive instead of vfs.rar, as it is proper and new?
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to find option to enable playback from RAR archives0