Switch Media Host - Host your Switch media over LAN

icon.png

Switch Media Host - Host your Switch media over LAN.
Now with Video and Theme Support!



New update, 2.0.0 is out! See changes below:
2.0.0 Change-log:

-No longer using 'Nintendo' Folder
-New folder on Root, 'SwitchMediaHost/'
-Video Support
-Brand new media grid, you can now resize and it won't break alignment
-Sorts by Photo, Video, Game
-Theme Support, making one is very easy
-You can now view all of your SDCard contents
-Main page now located at [ip-address]:5000/SwitchMediaHost/
-New and improved logo
-New 'Config.ini' file, new settings and themes in that file.
-Other small improvements


1.2.0 Change-log:

-No longer using root directory for main file
-Cleaner UI, with nice scrollbar.
-GitHub button
-'Game Folders' changed to 'Sort by Games'
-Move announcement to bottom of the page
-Moved file count to top right of photo list
-Added new screen to the Switch screen



1.1.0 Change-log:

Added new games page, sorts screenshots by games! Improved in 1.2.0
Under-the-hood improvements

Download Switch Media Host 2.0.0 now!

Features


View Screenshots, Video clips, and SDCard content
viewall.png

Organize files by file type and game
organize.png

Simple Custom Themes (Learn more below)
defaultthemes.png


How to download and install


1.) Go to the releases page and download the latest release

2.) Make sure you have the latest PyNX

3.)Extract all of the zips into the root of the SDCard


How to use


1.) Once you have everything installed, turn on your Switch and open PyNX from the Homebrew menu

2.) Open 'Switch Media Host.py'
Rename this file to 'main.py' to have it launch instantly

3.) Give it a few seconds to load

4.) Go to the URL printed on the Switch, and you're done!


Themes


A theme is very easy to make. To find your themes, go into the Config.ini file found in the SwitchMediaHost folder. At the very bottom of this file, you can see your themes. A theme looks like this:

black = black, white, lightgrey, black, icon.png, Switch Media Host

(Background color*, Font color*, Hover text color*, Scroll bar color*, Main logo, Title of page, Background Image)

You can use HTML color codes as well. To change your current theme, edit the line in Config.ini that says 'theme' to the theme you want.
Note: The scroll bar has issues with the background image, HTML issue


Config.ini


Inside of Config.ini, you will find a few settings.The first setting is the Theme. Change this to the theme you want, all of the themes are found at the bottom of the file. One other setting is disable-video. With this enabled, it will not load videos on the main page (Like 1.2.0 and below). This allows for faster loading times in most cases. Another option is events. With this enabled, on special holidays it'll change your sites theme, like Halloween ;). This setting is on by default.


Useful links


Switch Media Host Latest

PyNX Latest

Getting started with Homebrew
 
Last edited by ImmaSpoon,

ImmaSpoon

Member
OP
Newcomer
Joined
Jun 18, 2018
Messages
16
Trophies
0
Website
github.com
XP
154
Country
United States
Link to his GitHub page!


--

Aye! This is actually really cool. There are times I want to share screenshots/videos, but have to open ftpd snap.

Hopefully when video support comes, no longer. So far so good!

Well, good news! I have finally released a new update that has video support. I am very sorry about the long wait, but it is here now. This new update also brings other things like a cleaner media grid, and even themes. Hopes this helps!
 
  • Like
Reactions: hippy dave

bawzy

Active Member
Newcomer
Joined
Dec 15, 2014
Messages
44
Trophies
0
Age
44
XP
252
Country
United States
Hi, something seems to be wrong and I cannot get the .py to load. I have PYNX installed, I have tried both manually and installing from HBappstore. Then I install the Switch Media Host.py into the PYNX folder. I launch PYNX, I get the menu screen, I launch Switch Media Host.py, and it just remains blank screen forever. I tried loading the IP address in my browser in case it did load but shows nothing, but it wont connect.

I've tried Atmosphere, and SX OS both. v8.1. Unsure what else I can try?
 

ImmaSpoon

Member
OP
Newcomer
Joined
Jun 18, 2018
Messages
16
Trophies
0
Website
github.com
XP
154
Country
United States
Hi, something seems to be wrong and I cannot get the .py to load. I have PYNX installed, I have tried both manually and installing from HBappstore. Then I install the Switch Media Host.py into the PYNX folder. I launch PYNX, I get the menu screen, I launch Switch Media Host.py, and it just remains blank screen forever. I tried loading the IP address in my browser in case it did load but shows nothing, but it wont connect.

I've tried Atmosphere, and SX OS both. v8.1. Unsure what else I can try?
Hello! I'm not sure what the issue is, but it could be because it can't start the webserver correctly. Try this file and let me know the output. Thanks!
 

bawzy

Active Member
Newcomer
Joined
Dec 15, 2014
Messages
44
Trophies
0
Age
44
XP
252
Country
United States
Hello! I'm not sure what the issue is, but it could be because it can't start the webserver correctly. Try this file and let me know the output. Thanks!
Thank you for trying to help! However when I put your file into the PyNX folder and try loading it, the same thing happens; Just a blank screen. The Switch is not frozen, I can hit Home and it exits out. I've tried doing this in Applet mode AND with a forwarder, same result. Dang
 

ImmaSpoon

Member
OP
Newcomer
Joined
Jun 18, 2018
Messages
16
Trophies
0
Website
github.com
XP
154
Country
United States
Thank you for trying to help! However when I put your file into the PyNX folder and try loading it, the same thing happens; Just a blank screen. The Switch is not frozen, I can hit Home and it exits out. I've tried doing this in Applet mode AND with a forwarder, same result. Dang
I'm so sorry to hear that. I have this version that might help, but the Sort by Games page is broken. I have work right now, but here is that file to hold you over until the next update :) this loads the files a lot faster, and hopefully fixes your issue
 

bawzy

Active Member
Newcomer
Joined
Dec 15, 2014
Messages
44
Trophies
0
Age
44
XP
252
Country
United States
I'm so sorry to hear that. I have this version that might help, but the Sort by Games page is broken. I have work right now, but here is that file to hold you over until the next update :) this loads the files a lot faster, and hopefully fixes your issue
Hey, that file worked! It loaded pretty much instantly, I see "Switch Media Host" in big text on my screen. Thanks so much!
 
  • Like
Reactions: ImmaSpoon

ombus

Well-Known Member
Member
Joined
Dec 28, 2015
Messages
541
Trophies
0
Age
38
XP
2,190
Country
United States
Just saw this on the store.. cant use it :(

Edit: I tried again with the files from pynx and it worked... :D with only the files that come in switch media host didint work for me.
 
Last edited by ombus,

GatoFiestero

Well-Known Member
Member
Joined
Jan 21, 2020
Messages
348
Trophies
0
Age
36
XP
1,619
Country
Costa Rica
Hi dudes.

I could not see the content on my computer. I started to investigate and changed this line:

for root, dirs, files in os.walk ('../../Nintendo'):​

For this other:

for root, dirs, files in os.walk ('../../emuMMC/RAW1/Nintendo'):​

In the Switch Media Host.py file

And then I restart the tool, enter in my browser and press F5 for every html page (pics, videos, etc)

My system: Atmosphere. In the case of the emunand, a folder is created in the root with the name emuMMC, and then a subfolder which is RAW1, and then the Nintendo folder. Every person with an atmosphere emunand has this structure.

Please take this into consideration for the correct operation of this MAGNIFICENT tool.

Thank you for your effort in this great idea.
 
Last edited by GatoFiestero,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Those IHOP chips are actually pretty damn good
  • BigOnYa @ BigOnYa:
    They're made with left over pancake/wafle batter, that's been sitting out all day.
  • BigOnYa @ BigOnYa:
    3 hours on a riding lawn mower, my butt is numb and my whole body is still vibrating. Gonna be a long summer. :cry: I just need to buy some goats.
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, Did you leave your buttplug in?
    +2
  • BigOnYa @ BigOnYa:
    I feel like I spent the night with Ancientboi
    +3
  • Flame @ Flame:
    Ancientboi at it again.
    +2
  • Flame @ Flame:
    is it a bird is it a plane... no its Ancientboi banging your ass away !
    +3
  • K3Nv2 @ K3Nv2:
    Took along time to fit it in?
  • K3Nv2 @ K3Nv2:
    Snow days $25 on steam may grab it
  • SylverReZ @ SylverReZ:
    Measuring sizes with AncientBoi, I see.
  • K3Nv2 @ K3Nv2:
    I guess Ancientboi would be Peter
    +2
  • SylverReZ @ SylverReZ:
    Loooooool :rofl2:
  • SylverReZ @ SylverReZ:
    So true
  • BigOnYa @ BigOnYa:
    @K3Nv2 Snow Day is pretty fun. My only bitch would be the camera controls, when you move around, say down, you have to move the right stick left or right to get camera to turn and get your view, other than that I like it so far.
  • K3Nv2 @ K3Nv2:
    From what people say pvp isn't even worth it
  • BigOnYa @ BigOnYa:
    I just been playing offline, and they give you a few bots here n there on your team to help battle. I don't think it's as funny as the other games tho, more battle oriented than humor, which kinda sucks, but I'm still early in it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, doesnt the game have a campaign mode?
  • BigOnYa @ BigOnYa:
    Yea, and co-op, but you can also start a pvp session and battle just with friends. You get special skill cards (powers) the more you play. And higher value cards, but you can only enable so many cards at a time.
  • K3Nv2 @ K3Nv2:
    If you can find enough for it
    K3Nv2 @ K3Nv2: If you can find enough for it