2014-04-04, 08:25
It's a big show but I'll do my best. Do printfs go to the log or do I have to start via console.
Wish me luck, disappearing down the rabbit hole....
Wish me luck, disappearing down the rabbit hole....
21:44:58 T:8000 DEBUG: NFS: Refreshing context for 192.168.1.51/MovieLibrary02, old: 56859, new: 56919
21:44:58 T:8000 DEBUG: NFS: Using cached context.
21:44:58 T:8000 DEBUG: NFSDEBUGPRINTOUT: stat returned 0 for path //Source Code (2011)/Source Code (2011) - bluray.mkv
21:44:58 T:8000 DEBUG: NFS: Refreshing context for 192.168.1.51/MovieLibrary08, old: 56891, new: 56951
21:44:58 T:8000 DEBUG: NFS: Using cached context.
21:44:58 T:8000 DEBUG: NFSDEBUGPRINTOUT: stat returned 0 for path //Soylent Green (1973)/Soylent Green.mkv
21:44:58 T:8000 DEBUG: NFS: Refreshing context for 192.168.1.51/MovieLibrary02, old: 56919, new: 56974
21:44:58 T:8000 DEBUG: NFS: Using cached context.
21:45:30 T:8000 DEBUG: Mysql execute: DELETE FROM files WHERE idFile IN (572,575,595,609,613,619,622,625,631,632,634,636,637,638,639,640,641,642,649,652,653,654,655,656,657,658,668,670,671,674,675,680,683,687,690,692,695,703,8775,705,706,707,714,719,721,723,727,728,729,735,736,743,745,746,750,752,756,772,773,774,777,778,781,782,783,796,802,803,809,811,813,820,822,824,828,834,838,840,849,850,858,8742,571,573,576,577,578,579,580,581,590,592,598,599,600,601,604,629,630,648,650,659,660,661,669,672,673,676,677,678,679,689,691,700,708,715,716,717,718,720,724,725,726,731,739,748,754,755,757,761,763,769,775,780,785,791...
(2014-04-03, 06:01)jebise Wrote: @patseguin try what I posted it worked for me as I was n the same boat. Oddly you need to give everyone read access on the folder via smb share. As soon as I did that my windows PC's started to work. You still need nfs permissions for xbmc but also smb access.
(2014-04-05, 18:56)patseguin Wrote:(2014-04-03, 06:01)jebise Wrote: @patseguin try what I posted it worked for me as I was n the same boat. Oddly you need to give everyone read access on the folder via smb share. As soon as I did that my windows PC's started to work. You still need nfs permissions for xbmc but also smb access.
I am using a Synology NAS with DSM 5.0 but it appears admin and guest users have read/write access for both NFS and SMB.
(2014-04-07, 03:44)gibxxi Wrote: AFAIK NFS doesn't support a username/password approach at all, unlike SMB.
bool CNFSFile::Exists(const CURL& url)
{
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Exists for url");
return Stat(url,NULL) == 0;
}
int CNFSFile::Stat(struct __stat64* buffer)
{
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Stat for buffer");
return Stat(m_url,buffer);
}
int CNFSFile::Stat(const CURL& url, struct __stat64* buffer)
{
int ret = 0;
CSingleLock lock(gNfsConnection);
CStdString filename = "";
if(!gNfsConnection.Connect(url,filename))
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Stat returning -1 as !gNFSConnection for url %s filename %s",url,filename);
return -1;
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat returning -1 as !gNFSConnection for url ?Z/ filename (null)
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat returning -1 as !gNFSConnection for url ?Z/ filename (null)
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat returning -1 as !gNFSConnection for url ?Z/ filename (null)
21:46:20 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url
const CURL& url
these don't work:
url.get().c_str())
url.c_str()
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists gNfsConnection.Connect failed for url ?Z/ path (null)
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists for path nfs://192.168.1.51/TVLibrary03/Band Of Brothers/
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists gNfsConnection.Connect failed for url ?Z/ path (null)
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists for path nfs://192.168.1.51/TVLibrary03/Ashes To Ashes/
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists gNfsConnection.Connect failed for url ?Z/ path (null)
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists for path nfs://192.168.1.51/TVLibrary04/Hung/
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists gNfsConnection.Connect failed for url ?Z/ path (null)
21:47:00 T:9764 DEBUG: NFSDEBUGPRINTOUT: CNFSDirectory::Exists for path nfs://192.168.1.51/TVLibrary04/How I Met Your Mother/
bool CNFSFile::Exists(const CURL& url)
{
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Exists for url %s", url.GetFileName().c_str());
return Stat(url,NULL) == 0;
}
int CNFSFile::Stat(struct __stat64* buffer)
{
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Stat for buffer");
return Stat(m_url,buffer);
}
int CNFSFile::Stat(const CURL& url, struct __stat64* buffer)
{
int ret = 0;
CSingleLock lock(gNfsConnection);
CStdString filename = "";
if(!gNfsConnection.Connect(url,filename)){
CLog::Log(LOGDEBUG, "NFSDEBUGPRINTOUT: CNFSFile::Stat about to return -1 as !gNfsConnection");
return -1;
}
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url TVLibrary03/Buffy the Vampire Slayer/Season 04/Buffy the Vampire Slayer - S04E19 - New Moon Rising.mkv
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat about to return -1 as !gNfsConnection
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url TVLibrary03/Buffy the Vampire Slayer/Season 04/Buffy the Vampire Slayer - S04E20 - The Yoko Factor (1).mkv
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat about to return -1 as !gNfsConnection
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url TVLibrary03/Buffy the Vampire Slayer/Season 04/Buffy the Vampire Slayer - S04E21 - Primeval (2).mkv
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat about to return -1 as !gNfsConnection
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url TVLibrary03/Buffy the Vampire Slayer/Season 04/Buffy the Vampire Slayer - S04E22 - Restless.mkv
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Stat about to return -1 as !gNfsConnection
00:45:14 T:2264 DEBUG: NFSDEBUGPRINTOUT: CNFSFile::Exists for url TVLibrary03/Buffy the Vampire Slayer/Season 05/Buffy the Vampire Slayer - S05E01 - Buffy vs Dracula.mkv