Can't edit metadata but itunes can.

Post Reply
iHomeWHS
Posts: 19
Joined: Sun Jun 22, 2014 9:41 am

Can't edit metadata but itunes can.

Post by iHomeWHS » Mon Apr 06, 2015 5:21 pm

Hi,

running iTunes V11.4, also tested with the special v12.1. iHomeServer 3.1.76 on WHS 2011.

When I try to update Metadata of an imported movi, it failed with "file is readony", but thats nonsense. When I start iTunes out of iHomeServer interactivly, I can edit and update the metadata.

Here are the logs:

Code: Select all

06/04/2015 19:16:28.991 9332:0 17 TagManager:SearchMovie - End - 1 results
06/04/2015 19:16:54.570 9332:0 17 WCFServer::Ping -> returning Pong
06/04/2015 19:16:57.461 9332:0 11 Setting delegate
06/04/2015 19:16:57.463 9332:0 11 Mp4NetWrapper::FetchTagsFromFile Called
06/04/2015 19:16:57.464 9332:0 11 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.464 9332:0 11 MP4NetWrapper::FetchTagsFromFile - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.559 9332:0 11 
06/04/2015 19:16:57.560 9332:0 11 Mp4NetWrapper::GetMetadataFreeFormCalled
06/04/2015 19:16:57.561 9332:0 11 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.561 9332:0 11 MP4NetWrapper::GetMetadataFreeFormCalled - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.655 9332:0 11 Mp4NetWrapper::GetMetadataFreeFormCalled
06/04/2015 19:16:57.655 9332:0 11 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.655 9332:0 11 MP4NetWrapper::GetMetadataFreeFormCalled - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.784 9332:0 17 WCFServer.UpdateVideoTrack() START
06/04/2015 19:16:57.785 9332:0 17 UpdateVideoTrack - \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v...
06/04/2015 19:16:57.785 9332:0 17 UpdateVideoTrack: file issue counter is set to 0
06/04/2015 19:16:57.800 9332:0 17 Setting delegate
06/04/2015 19:16:57.800 9332:0 17 iTunesCOM::UpdateVideoTrack - waiting for lock...
06/04/2015 19:16:57.800 9332:0 17 iTunesCOM::UpdateVideoTrack - done waiting.
06/04/2015 19:16:57.801 9332:0 17 iTunesCOM::Fetching tags before...
06/04/2015 19:16:57.801 9332:0 17 Mp4NetWrapper::FetchTagsFromFile Called
06/04/2015 19:16:57.801 9332:0 17 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.801 9332:0 17 MP4NetWrapper::FetchTagsFromFile - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.903 9332:0 17 
06/04/2015 19:16:57.905 9332:0 17 Adding \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v to scan ignore list...
06/04/2015 19:16:57.905 9332:0 17 Mp4NetWrapper::UpdateMP4 Called
06/04/2015 19:16:57.905 9332:0 17 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.905 9332:0 17 MP4NetWrapper::UpdateMP4 - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.907 9332:0 17 Mp4NetWrapper::LogCallBack - mp4v2::platform::io::StandardFileProvider::read: fread(\\?\UNC\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v,4) failed (13)
06/04/2015 19:16:57.908 9332:0 17 Mp4NetWrapper::LogCallBack - mp4v2::impl::MP4File::ReadBytes: read failed: errno: 13 (..\..\src\mp4file_io.cpp,94)
06/04/2015 19:16:57.908 9332:0 17 Mp4NetWrapper::Could not open file with MP4Modify
06/04/2015 19:16:57.908 9332:0 17 iTunesCOM::UpdateVideoTrack - Finished UpdateMP4 - Error updating MP4 file
06/04/2015 19:16:57.908 9332:0 17 Mp4NetWrapper::FetchTagsFromFile Called
06/04/2015 19:16:57.909 9332:0 17 MP4NetWrapper::ConvertString - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:57.909 9332:0 17 MP4NetWrapper::FetchTagsFromFile - filename is \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v
06/04/2015 19:16:58.001 9332:0 17 
06/04/2015 19:16:58.003 9332:0 17 Starting RefreshFromFile...
06/04/2015 19:16:58.030 9332:0 17 This file has already been successfully cached (file has same created date) - updating info from track instead of re-importing
06/04/2015 19:16:58.030 9332:0 17 iTunesCOM::RefreshFromFile - waiting for lock...
06/04/2015 19:16:58.030 9332:0 17 iTunesCOM::RefreshFromFile - done waiting.
06/04/2015 19:16:58.031 9332:0 17 UpdateInfoFromFile: Start
06/04/2015 19:16:58.369 9332:0 17 UpdateInfoFromFile: End
06/04/2015 19:16:58.371 9332:0 17 No Watch Folder specified for this file (may have been moved by iTunes) - will not UpdateMedaiType
06/04/2015 19:16:58.374 9332:0 17 Updating stats for database record for \\server\ihomeserver\itunes media\movies\the maze runner\the maze runner.m4v
06/04/2015 19:16:58.378 9332:0 17 Refreshing cached database record for \\server\ihomeserver\itunes media\movies\the maze runner\the maze runner.m4v
06/04/2015 19:16:58.383 9332:0 17 PopulateCachedFile:Getting Artwork...
06/04/2015 19:16:58.968 9332:0 17 PopulateCachedFile:Done
06/04/2015 19:16:58.972 9332:0 17 Refreshing cached database record for \\server\ihomeserver\itunes media\movies\the maze runner\the maze runner.m4v - finished populateCachedFile
06/04/2015 19:16:58.975 9332:0 17 Refreshing cached database record for \\server\ihomeserver\itunes media\movies\the maze runner\the maze runner.m4v - finished.
06/04/2015 19:16:58.994 9332:0 17 WCFServer::Notifying all clients of a major playlist change
06/04/2015 19:16:58.997 9332:0 17 Index::RemoveFromIndex - ASSERT - cached file doesn't contain item
06/04/2015 19:16:58.999 9332:0 17 Removing \\SERVER\iHomeServer\iTunes Media\Movies\The Maze Runner\The Maze Runner.m4v from scan ignore list...
06/04/2015 19:16:58.999 9332:0 17 UpdateVideoTrack - Result: False
06/04/2015 19:16:59.000 9332:0 17 UpdateVideoTrack: returning ReadOnly
06/04/2015 19:16:59.000 9332:0 17 WCFServer.UpdateVideoTrack() END
06/04/2015 19:17:10.996 9332:0 17 WCFServer::Ping -> returning Pong
Hope this helps. Seems to be an incompatibility in the mp4 metadata code of iHomeServer

Thanks and regards
Attachments
Could not edit metadata.png
Could not edit metadata.png (9.84 KiB) Viewed 8525 times
iHomeWHS
Posts: 19
Joined: Sun Jun 22, 2014 9:41 am

Re: Can't edit metadata but itunes can.

Post by iHomeWHS » Sun Apr 19, 2015 3:40 pm

Tried older version of iHome Server and the newest Beta, but nothing changed.

Is there an issue with the API to iTunes? 11.4 and 12.X didn't work ...

It couldn't be an file system permission issue, cause iTunes running as the same user works like a charm.

Any hints? Really annoying ... it's really hard work to import an video at the moment.
TSWired
Posts: 2
Joined: Tue Apr 21, 2015 4:18 pm

Re: Can't edit metadata but itunes can.

Post by TSWired » Tue Apr 21, 2015 4:21 pm

Having exactly the same issue here.

Running iHhome Server V3 Pro on WHS2011.
iTunes version: 12.1.1.4
TSWired
iHomeWHS
Posts: 19
Joined: Sun Jun 22, 2014 9:41 am

Re: Can't edit metadata but itunes can.

Post by iHomeWHS » Thu May 14, 2015 3:47 pm

Further investigations shows, it's stablebit DrivePool related issue ...
TSWired
Posts: 2
Joined: Tue Apr 21, 2015 4:18 pm

Re: Can't edit metadata but itunes can.

Post by TSWired » Thu May 14, 2015 4:34 pm

I'm using Drive pool as well, did you manage to find a resolution by chance?

Thanks
TSWired
bizmodeller
Posts: 362
Joined: Thu Nov 14, 2013 8:40 pm

Re: Can't edit metadata but itunes can.

Post by bizmodeller » Sat Jun 27, 2015 5:46 am

We have been contacted by the authors of DrivePool re this issue (which was incidentally very kind of them). Their response for any DrivePool users who are getting these symptoms is below:
We've investigated the issue, and have discovered that this is do to a very low level issue that we were causing.
Specifically: https://stablebit.com/Admin/IssueAnalysis/15581
(In case you were interested).

If you happen to run into anyone else with this "read only" error issue, could you direct them to us immediately? Or hand them these links:
http://dl.covecube.com/DrivePoolWindows ... 4_BETA.exe
http://dl.covecube.com/DrivePoolWindows ... 6_BETA.exe

These beta builds should specifically address the issue, until we're able to get a release version out.
Please let us know how you get on

Thanks,

Ed
Post Reply