Accessing SMB shares without a user logged in on Server (1 Viewer)

riggnix

Portal Pro
September 8, 2009
95
25
Austria Austria
Hi!

I'm trying to get media import working for network shares without a user logged in on the server.
I'm using a dedicated server and multiple clients.
Version: Weekly snapshot (2015-02-22)

When a user is logged in on the server, everthing works as expected. MP2-Server uses the credentials of the logged in user.

I tried setting the network credentials to exactly the user who is usally logged in, but I can't seem to get it working.

In the Server Logs i found the following:
Code:
[2015-03-18 16:32:14,440] [44999392] [61       ] [INFO ] - ImporterWorker: Refresh for path '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien', MediaCategories: 'Series,Video', including subdirectories requested...
[2015-03-18 16:32:14,471] [44999423] [117      ] [INFO ] - ImporterWorker: Scheduled ImportJob(#4) (Activated) (Path ='{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien', ImportJobType='Refresh', IncludeSubdirectories='True')
[2015-03-18 16:32:15,039] [44999991] [117      ] [INFO ] - ImporterWorker.ImportJob(#4): Activated
[2015-03-18 16:32:15,516] [45000468] [53       ] [WARN ] - ImporterWorker.ImportJob(#4).DirectoryUnfoldBlock: Error while processing PendingImportResource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien/American Dad/' (parent directory={03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien)
System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: source
   bei System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   bei MediaPortal.Extensions.ResourceProviders.NetworkNeighborhoodResourceProvider.NetworkNeighborhoodResourceAccessor.WrapLocalFsResourceAccessors(ICollection`1 localFsResourceAccessors)
   bei MediaPortal.Extensions.ResourceProviders.NetworkNeighborhoodResourceProvider.NetworkNeighborhoodResourceAccessor.GetChildDirectories()
   bei MediaPortal.Common.ResourceAccess.FileSystemResourceNavigator.GetChildDirectories(IFileSystemResourceAccessor directoryAccessor, Boolean showSystemResources)
   bei MediaPortal.Common.Services.MediaManagement.ImportDataflowBlocks.DirectoryUnfoldBlock.<ProcessDirectory>d__3.MoveNext()

There is one of these for every folder in the network share.
Is there a special way to enter the network credentails, or is this a bug (I just put in the the windows user name and password, without domain)?



Regards,
RiggniX
 
Last edited:

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,069
    3,681
    Lehmden
    Germany Germany
    Country flag
    Hi.
    This is a bug, but a fixed one. The work on this nearly is finished and the testing version is doing well. Only some cleanups need to be done. This will make it most likely into the next weekly.
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,475
    1,385
    Country flag
    Yep, just sitting at an Airport waiting for my flight and using the time to finish that part... Let's see if I can get it ready until Friday. Will be tough but I'll try...
     

    riggnix

    Portal Pro
    September 8, 2009
    95
    25
    Austria Austria
    Just saw the 2015-04-03 build. Is this fix in there? If not, can I help somehow?

    I tried finding out via the GitHub history, but there are so many commits, I don't really know what to look for ;)
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,475
    1,385
    Country flag
    Yep, it's in there :D
    When you try it, please remember that you have to re-enter your network credentials under Settings->ServerSettings->Network Credentials
    Have fun!
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    S [solved] access the desktop without leaving mediaportal General Support 5
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    L [solved] Why does Mediaportal 2 need access to my webcam? General 2
    Ralph Holmes Problem accessing radio channels General 4
    O Can't access the Wiki Online Facilities 5
    G How to access Scheduled Recordings without going through TV Home screen General Support 3
    R MediaPortal 1 or 2 - Web Access Newcomers Forum 4
    D Limit HDD access when viewing TV? General 1
    BlueMax1916 [Evaluate] Windows 10 Apps for Sky, Netflix, Amazon etc. to be accessible via MP2 Plugin Feature Requests 3
    HTPCSourcer [solved] Which access rights for TV Recording share? MediaPortal 2 4
    L No access to videos on network drive windows 10 April update watch/edit Videos 0
    M [solved] I can no longer access Jira General 6
    tomfrogger 503 errors on thetvdb.com api access My TVSeries 4
    V [solved] Startup Crash if Video Folders not online/accessible. (default videos plugin) General Support 10
    breese Forum Ad blocking screen and will not allow access to upper Post New Thread Website/Forum/Wiki Feedback 4
    O Kodi Client tries to access wrong timeshift file Installation, configuration support 0
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    R Correct setting for recordings on shared folder General 0
    A 1.24.0 CD art grabber not working in Shares view 1.24 Pre Release 17
    ajs Shared-Cache Mode for SQLite DBs... MediaPortal 1 2
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    Scheibes Automatischer Serienimport fehlerhaft (Share Watch) Allgemeines Support- und Diskussionsforum 18
    T Media source share drill down not working General 2
    stirlinghart Folders showing up in MOVIES share General 2
    P Multiple clients - share resume/watched data General 1
    Similar threads

























    Top Bottom