Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Access Windows share across internet

Options
  • 10-10-2018 11:42pm
    #1
    Registered Users Posts: 88 ✭✭


    I'm looking for advice on how best to connect to a Windows share from an Android box across the internet.

    I think some kind of VPN might be the answer but how do you set that up on Android? Won't that force all android traffic across it? Would it be easy to change the settings when my public IP changes?

    The image below better explains what I'm trying to achieve. My media store is on a constantly running Windows 7 PC. Any ideas/pointers welcome.

    t4V9hVL


Comments

  • Registered Users Posts: 3,612 ✭✭✭Dardania


    VPN would be one way. I'm almost certain you can set up a routing rule that discerns between traffic (so that at your folks' house, internet is routed directly, whereas it can see the Windows server also)

    If I was you, I would look at specific products which have solved this problem already, for average consumers, rather than looking at something which needs something approaching a CCNA's level of knowledge to implement. I have used Plex lately and it seems to work well for this situation.


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    Use Plex or Emby


  • Registered Users Posts: 36,167 ✭✭✭✭ED E


    Step 1.
    https://www.noip.com/

    Step 2.
    Plex.


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    ED E wrote: »
    Step 1.
    https://www.noip.com/

    Step 2.
    Plex.

    You don't even need noip, just login to your Plex or Emby account. They even support upnp if it's enabled in your router so you don't have to forward ports on your firewall


  • Registered Users Posts: 88 ✭✭unhappyBB


    Thanks for the responses guys but the reason for the question was that I was actually trying to avoid plex :rolleyes::o
    I tried it a few years ago and didnt like it. This is what I remember but it could all have changed by now:

    At the time I hated the interface (compared to xbmc/kodi Confluence).
    It didn't do as good a job of recognising media
    The server, while always running, never seemed to connect
    It was always trying to transcode everything, straight passthrough regularly failed
    I never got the Android app working properly and I don't think it done full HD

    Saying that, it is supposed to do exactly what I'm looking for. I guess I'll be giving it another go over the weekend.


  • Advertisement
  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    I do similar using tvheadend and set up a user who has to log in by user name and password.
    I also specify a specific IP address for that user.

    I forward port 9982 to the tvheadend server box.

    The user uses a no-ip URL which is updated on my main PC daily.

    EDIT
    Forgot to mention the shared folder is accessed through Kodi (share set up in Kodi).


  • Registered Users Posts: 37,299 ✭✭✭✭the_syco


    unhappyBB wrote: »
    It didn't do as good a job of recognising media
    I find it does a good job now. I find it doesn't like Anime, and doesn't put it into folders.
    unhappyBB wrote: »
    The server, while always running, never seemed to connect
    Is your external IP address static where the Plex server is located?
    unhappyBB wrote: »
    It was always trying to transcode everything, straight passthrough regularly failed
    Ensure your Windows machine isn't a basic thing with only 4GBB of RAM if you intend to play any x265 titles.

    =-=

    Look into the "Unofficial App Store" of Plex, as it was good the last time I used it. It allowed me to use Plex as the GUI for streaming other things.


  • Registered Users Posts: 2,985 ✭✭✭BailMeOut


    install a DLNA service on the windows box (example TVMOBiLi) and open DLNA ports in the Vodafone router to it. Then install a DLNA app on the Android box, point to the public Vodafone IP/Name and stream that way.


  • Registered Users Posts: 36,167 ✭✭✭✭ED E


    BailMeOut wrote: »
    install a DLNA service on the windows box (example TVMOBiLi) and open DLNA ports in the Vodafone router to it. Then install a DLNA app on the Android box, point to the public Vodafone IP/Name and stream that way.

    Do not do that. No fuppin way.

    Great way to get yourself owned.


  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    As both ends of the connection use Kodi, the easiest, IMO, is to set up a secured connection between the two using Kodi, and route the share through Kodi on the server.

    463520.png


  • Advertisement
  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    How does one reduce the image size when posting?


  • Registered Users Posts: 2,985 ✭✭✭BailMeOut


    ED E wrote: »
    Do not do that. No fuppin way.

    Great way to get yourself owned.

    You'd restrict to the Horizon IP only so that would be the only network that can access it.


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    As both ends of the connection use Kodi, the easiest, IMO, is to set up a secured connection between the two using Kodi, and route the share through Kodi on the server.

    463520.png

    Why would you use Kodi? This is exactly what Plex and Emby set out to simplify, they're both originally forks of XBMC (former name of KODI)


  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    Why would you use Kodi? This is exactly what Plex and Emby set out to simplify, they're both originally forks of XBMC (former name of KODI)

    Because Kodi is already installed on devices at both ends!

    Why install something else when it is unnecessary?


  • Registered Users Posts: 1,110 ✭✭✭user1842


    PLEX has improved massively in recent years.

    Honestly it is the easiest solution and has good apps for the majority of smart TVs.

    If your media collection is not H264 encoded then make sure you have at least i3 processor for you server as most phones/smart TVs will need encoding into H264.


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    Because Kodi is already installed on devices at both ends!

    Why install something else when it is unnecessary?

    As a former Kodi user this a very clunky setup and the exact reason I moved completely from Kodi to Plex. Kodi is not designed as a server -> client system and with a large library it will be slow. Plex and Emby are designed this way from the ground up to stream and will transcode in lower quality where needed. You can configure bandwidth limits per device or user profile

    Fwiw I've now moved from Plex to Emby as Emby now has a better community supporting it and is going the right direction. The Plex developers are too busy adding crap I don't need (AR view, news and podcasts) and dropping support for stuff I use (plugins, I use the Trakt plugin to backup my watch history to the cloud) and are not fixing any of the bugs.


  • Registered Users Posts: 36,167 ✭✭✭✭ED E


    How does one reduce the image size when posting?

    Imgur. Boards file hosting honestly sucks.

    If your imgur link is imgur.com/123456 then you can do /123456m for medium and so on.
    BailMeOut wrote: »
    You'd restrict to the Horizon IP only so that would be the only network that can access it.

    Which is dynamic. User fails this bit and they're very exposed. Worst solution IMO.
    Because Kodi is already installed on devices at both ends!

    Why install something else when it is unnecessary?

    Transcoding. I've whats considered good broadband, 20Mb US. That won't stream all content natively. Transcoding is useful.


  • Closed Accounts Posts: 501 ✭✭✭squawker


    found the best way to use Plex worldwide with no buffering is to route it through Cloudflare using a reverse proxy

    then your only open port is 443

    I use it for lots of other services as well (i.e Security Cameras / Homeassistant / etc)


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    ED E wrote: »
    Transcoding. I've whats considered good broadband, 20Mb US. That won't stream all content natively. Transcoding is useful.

    I have one that needs 45mbit upstream ;)


  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    ED E wrote: »
    Imgur. Boards file hosting honestly sucks.

    If your imgur link is imgur.com/123456 then you can do /123456m for medium and so on.

    Ah, thanks. ;)
    Transcoding. I've whats considered good broadband, 20Mb US. That won't stream all content natively. Transcoding is useful.

    That is why I mentioned tvheadend, which I suppose could be installed without Kodi, but as the server already has kodi then the obvious thing to do would be to install the tvheadend Kodi add-on.
    Tvheadend has various preset profiles for use and transcodes to those when required as well as pass-through, HTSP, mkv etc etc. You can also build your own if you have particular preferences.
    I have only used it for Live TV (including HD).


  • Advertisement
  • Registered Users Posts: 88 ✭✭unhappyBB


    I went ahead and set up Plex on my server over the weekend. After a bit of reading online I found out that you cant turn off transcoding completely. This is a problem for me as my server is just a very old PC that wouldn't be up for any kind of transcoding task.
    Not being able to disable it is a terrible oversight in my opinion. I installed Plex on my phone for testing. To try and avoid transcoding I set the quality to max but the app still used it as the video file was deemed incompatible with my phone. This is despite the fact I can browse to the file using ES explorer and play it on the default android video player :rolleyes:

    I wanted the windows share to be accessible to the parents Kodi as this has the lowest overhead on the server and the best compatibility with Kodi. The last time I thought about doing this I tried setting up an FTP server.
    I think I remember that Kodi couldn't fast-forward/rewind via FTP so I just scrapped the idea until now.
    The files are a mix of everything. Some are quite old and some less so; xvid, x264, x265 and I cant even remember what my action cams raw footage is stored in.

    (Sorry about the posted image size, I forgot I was on a very Hi-res monitor and the image looked small :pac: I'm still not even sure how to post images correctly)


  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    unhappyBB wrote: »
    I went ahead and set up Plex on my server over the weekend. After a bit of reading online I found out that you cant turn off transcoding completely. This is a problem for me as my server is just a very old PC that wouldn't be up for any kind of transcoding task.
    Not being able to disable it is a terrible oversight in my opinion. I installed Plex on my phone for testing. To try and avoid transcoding I set the quality to max but the app still used it as the video file was deemed incompatible with my phone. This is despite the fact I can browse to the file using ES explorer and play it on the default android video player :rolleyes:

    I wanted the windows share to be accessible to the parents Kodi as this has the lowest overhead on the server and the best compatibility with Kodi. The last time I thought about doing this I tried setting up an FTP server.
    I think I remember that Kodi couldn't fast-forward/rewind via FTP so I just scrapped the idea until now.
    The files are a mix of everything. Some are quite old and some less so; xvid, x264, x265 and I cant even remember what my action cams raw footage is stored in.

    (Sorry about the posted image size, I forgot I was on a very Hi-res monitor and the image looked small :pac: I'm still not even sure how to post images correctly)

    Try Emby. With Plex you are most likely transcoding because your audio needs transcoding to stereo, I've had this issue. This is not an issue with Emby and you can also disable transcoding completely in user settings.


  • Registered Users Posts: 1,110 ✭✭✭user1842


    unhappyBB wrote: »
    I went ahead and set up Plex on my server over the weekend. After a bit of reading online I found out that you cant turn off transcoding completely. This is a problem for me as my server is just a very old PC that wouldn't be up for any kind of transcoding task.
    Not being able to disable it is a terrible oversight in my opinion. I installed Plex on my phone for testing. To try and avoid transcoding I set the quality to max but the app still used it as the video file was deemed incompatible with my phone. This is despite the fact I can browse to the file using ES explorer and play it on the default android video player :rolleyes:

    I wanted the windows share to be accessible to the parents Kodi as this has the lowest overhead on the server and the best compatibility with Kodi. The last time I thought about doing this I tried setting up an FTP server.
    I think I remember that Kodi couldn't fast-forward/rewind via FTP so I just scrapped the idea until now.
    The files are a mix of everything. Some are quite old and some less so; xvid, x264, x265 and I cant even remember what my action cams raw footage is stored in.

    (Sorry about the posted image size, I forgot I was on a very Hi-res monitor and the image looked small :pac: I'm still not even sure how to post images correctly)

    PLEX has the option of using the Android video player. This many prevent a lot of the transcoding.

    I wanted to use PLEX on my smart TVs (and a Fire TV stick) and did not want any transcoding (similar issue as you as my media server was an NAS). I ended up converting everything to H.264 in an mp4 container.

    It is actually so much easier having one format that I know will play on all current and future devices.


  • Registered Users Posts: 8,392 ✭✭✭Gadgetman496


    user1842 wrote: »
    PLEX has the option of using the Android video player. This many prevent a lot of the transcoding.

    I wanted to use PLEX on my smart TVs (and a Fire TV stick) and did not want any transcoding (similar issue as you as my media server was an NAS). I ended up converting everything to H.264 in an mp4 container.

    It is actually so much easier having one format that I know will play on all current and future devices.

    What did you use to do the converting?

    "Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."



  • Closed Accounts Posts: 4,456 ✭✭✭The high horse brigade


    What did you use to do the converting?

    Both Plex and Emby have this built in


  • Registered Users Posts: 1,110 ✭✭✭user1842


    What did you use to do the converting?

    Handbrake for the converting:

    https://handbrake.fr/

    Xmedia-recode to change the audio language flag to English if necessary (i dont like PLEX showing it as unknown):

    https://www.xmedia-recode.de/

    Media Info for spot checks on files to make sure all is ok:

    https://mediaarea.net/en/MediaInfo

    You can just point Handbrake to a folder, select a preset and let if off (it will take time though depending on how many files you have). Also good to have different presets for SD and HD (I did some sample encodes to make sure I was happy with the quality and file sizes).

    I actually saved and about 1GB of space with no real degradation in quality.


  • Registered Users Posts: 14,008 ✭✭✭✭Johnboy1951


    As a former Kodi user this a very clunky setup and the exact reason I moved completely from Kodi to Plex. Kodi is not designed as a server -> client system and with a large library it will be slow. Plex and Emby are designed this way from the ground up to stream and will transcode in lower quality where needed. You can configure bandwidth limits per device or user profile

    That is why Tvheadend is used - to take care of all the backend/server stuff, from managing tuners of various sorts for live TV; recording; streaming; encoding; user access settings etc. etc.. Kodi takes care of the user interface and has lots of useful plugins.
    The user has a choice of several backends if tvheadend does not suit for some reason.

    Plex, as I understand it, has both built in.
    Fwiw I've now moved from Plex to Emby as Emby now has a better community supporting it and is going the right direction. The Plex developers are too busy adding crap I don't need (AR view, news and podcasts) and dropping support for stuff I use (plugins, I use the Trakt plugin to backup my watch history to the cloud) and are not fixing any of the bugs.


Advertisement