Ben Z 86 Posted October 27, 2015 Posted October 27, 2015 Hi, Let me explain my situation before asking my question concerning my issue. My main medias are in an external drive and directly connected to my server. No problem here. I also use my laptop as a media source. All sources use smb path substitutions. When I'm not at home (outside my network), during the automatic server scan, it no longer find the smb share from my laptop and remove the contents in my library. Is there a way to prevent this? I mean, I want that the server ignore the absence and does not remove the medias. I don't like to always do a manual scan just to get back the medias from my laptop all the time. Thanks
bluemonkey07 590 Posted October 27, 2015 Posted October 27, 2015 Turn off scanning when your laptop is not available
Ben Z 86 Posted October 27, 2015 Author Posted October 27, 2015 It's still a manual manipulation :/ I would need to do it everyday... Is there any other solutions? I want it to be completely independent.
bluemonkey07 590 Posted October 28, 2015 Posted October 28, 2015 Your problem is that you are trying to find away around an actual feature that is working exactly as designed
Luke 42083 Posted October 28, 2015 Posted October 28, 2015 you say you have added your library as smb, correct? try instead adding the external drive path directly, for example e:\movies. when media disappears one of two things happen - if the entire tree has disappeared, we leave it in the library and consider it offline. So if your entire e:\ drive disappears, it should work like you want. With smb this isn't happening because one level up is \\servername, therefore the entire tree hasn't disappeared, so the server just thinks you've deleted a folder. Note: If you have htpc apps relying on the smb access for direct play, you'll need to configure path substitution in order to avoid having them transcode with the server
Ben Z 86 Posted October 28, 2015 Author Posted October 28, 2015 I'm using direct paths for my external drive and substitutions for my clients. The problem isn't my external drive but my laptop path. As you can see, I can't use direct path for the laptop since it's not directly connected to my server, just by the network. I guess that what I'm asking isn't possible?
Happy2Play 9783 Posted October 28, 2015 Posted October 28, 2015 I think Luke is referring to mapping a drive letter path on your server to your laptop shares for a direct path.
Ben Z 86 Posted October 28, 2015 Author Posted October 28, 2015 (edited) I forgot to mention that my server is on a raspberry pi 2 (raspbian Jessie). my smb share from my laptop is mounted on a local path in raspbian (/media/mypath) with hdparm. I just use smb share paths for substitutions. Is it what you mean? Sorry, I know it's not windows but I thought it was a general question. Edited October 28, 2015 by benjidave
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now