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,839
Trophies
2
XP
7,943
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,960
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,309
Trophies
2
Age
47
XP
3,353
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
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=EtapU5nI6G4 +1