Homebrew WIP Kodi port for the Switch

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
I just found a WIP Kodi port for the Switch on Github by a Team-Kodi Member velocity: https://github.com/VelocityRa/xbmc/tree/switch

I still wonder why this has not been brought up more frequently since Kodi pretty much does everything the community was asking for.
Don't expect a release date soon, it's very much a WIP.



Kodi-logo-Thumbnail-light-transparent.png


FAQ:

Q: So what is Kodi? Sounds weird!
A: Kodi is an open-source media center, which is available for a lot of devices.

Q: What can it do?
A: It can play almost any media file on your device (which has been a much requested feature for the Switch btw). With the right Addons, you can also watch your favorite clips, series or movies on Netflix, Amazon Prime and YouTube (and much, much more)!

Q: How can I help?
A: You can tell the developer that there is a big enough demand for a switch port (Forum link). If you're a Switch developer you can help directly with the development since it's on Github.

Q: ETA?
A: Soon™.

You're not seeing much activity most likely because it's on every modern device known to mankind at this point.
 

_velocity

Member
Newcomer
Joined
Nov 11, 2018
Messages
7
Trophies
0
XP
141
Country
Greece
@_velocity how are things going?

I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,826
Trophies
2
XP
7,894
Country
United Kingdom
I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.
I hope you pick it up again I was following your progress on github :P and Kodi on Switch is just too good a fit for it not to happen :)
 

Underprivlidged

Member
Newcomer
Joined
Sep 6, 2018
Messages
15
Trophies
0
Age
34
XP
197
Country
United States
I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.


Anything change since this last update?
 
D

Deleted User

Guest
Less work would be to use Lakka from @Natin and Rewrite it for it to Build Kodi instead of Lakka with LibreElec Normally the Lakka Drivers should work with Kodi Just fine using the L4T Kernel 4.9
 

_velocity

Member
Newcomer
Joined
Nov 11, 2018
Messages
7
Trophies
0
XP
141
Country
Greece
The linker error itself is `read-only segment has dynamic relocations`

Basically some static library is being compiled in a wrong way (without the `-fPIC` option), resulting in dynamic relocations in a read-only segment.
And this kind of thing is only visible during that final linking phase, so I don't know which one it is. There's like 300 static libs being linked, Kodi has a shitton of dependencies which themselves have dependencies so this sort of thing is hard to track down and Kodi's depends build system is a bit of a mess.

I've tried many things like making scripts to scan those object files for that segment type, patch GCC itself to provide a more helpful debug message, etc, to no avail for various reasons.

Anyway, it's something I'd have to solve myself at this point and I've lost motivation so I doubt I'll come back to it (at least not as a spare-time side project).
 
  • Like
Reactions: ploggy

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,959
Country
Germany
The linker error itself is `read-only segment has dynamic relocations`

Basically some static library is being compiled in a wrong way (without the `-fPIC` option), resulting in dynamic relocations in a read-only segment.
And this kind of thing is only visible during that final linking phase, so I don't know which one it is. There's like 300 static libs being linked, Kodi has a shitton of dependencies which themselves have dependencies so this sort of thing is hard to track down and Kodi's depends build system is a bit of a mess.

I've tried many things like making scripts to scan those object files for that segment type, patch GCC itself to provide a more helpful debug message, etc, to no avail for various reasons.

Anyway, it's something I'd have to solve myself at this point and I've lost motivation so I doubt I'll come back to it (at least not as a spare-time side project).
Using ffmpeg on switch with asm optimizations?
That would need another define, if kodi builds their own ver.
You can also try -Wl,-verbose should be easy fix
 
Last edited by m4xw,
  • Like
Reactions: ploggy

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
Holy shit.
Does this mean that we will now be able to have a full media center on the Switch?

And even better...
Netflix and Youtube without having to rely on Nintendo's servers?!
This will be a godsend for people that are already banned and got disappointed that the Youtube app checks against Nintendo's servers to work.
>Netflix
i'm not sue you understand the full benefits of kodi

seriously though TL;DR
anyone know if this thing is going to support addons?
also what are he good go to addons these days
the .apk's are so good these days i stopped using kodi on my TV boxes a long time ago

i have got IARL or IAGL what it's called these days setup but i use retroarch
retroplayer is not really good at all still also IARL.IAGL is still missing quite a bit
 
D

Deleted User

Guest
well what we could try is to build LibreElec Kodi instead of Lakka if it works idk.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: because I already got burned out with breath of the wild, which for the most part is essentially...