Redshirt 1487 Posted January 6, 2014 Share Posted January 6, 2014 abeloin. I've pushed a new version of trakt server. Can you give it a try and see if it works in a mono environment. The plugin is a 'dev' release, you'll likely need to change your update level for that single plugin. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 (edited) Change update to dev for the plugin and run the scheduled task, restarted but still at 1.9.5113.3175. Only release version available. Edit: Need to update mediabrowser to the new version "requiredVersionStr":"3.0.5118.3360" Edited January 6, 2014 by abeloin Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 are you running from source? i can post a new build on dropbox if needed. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 (edited) are you running from source? i can post a new build on dropbox if needed. Yes, no need to post a new build. It is working but partially, any task take 0 seconds 2014-01-05 22:36:53.9631, Info, App, HttpClientManager POST: http://api.trakt.tv/account/settings/********************************************* 2014-01-05 22:41:08.7905, Info, App, Executing Sync library to trakt.tv 2014-01-05 22:41:08.7906, Info, App, Sending web socket message ScheduledTaskStarted 2014-01-05 22:41:08.8938, Info, App, Sync library to trakt.tv Completed after 0 minute(s) and 0 seconds Looking at the code, some item.Path.Contains have a backslash in it, which wont work in Linux. I'm wondering why the \ is needed? user.TraktLocations.Where(location => item.Path.Contains(location + "\\"))) Removing them fix the issue in my case: 2014-01-05 23:00:02.3080, Info, App, Post Data: {"username":"******","password":"[Removed]","imdb_id":"tt1214085","tvdb_id":"81751","title":"Soul Eater","year":"2008","episodes":[{"season":1,"episode":20},{"season":1,"episode":47},{"season":1,"episode":51},{"season":1,"episode":14},{"season":1,"episode":17},{"season":1,"episode":23},{"season":1,"episode":32},{"season":1,"episode":21},{"season":1,"episode":24},{"season":1,"episode":34},{"season":1,"episode":5},{"season":1,"episode":29},{"season":1,"episode":35},{"season":1,"episode":50},{"season":1,"episode":33},{"season":1,"episode":9},{"season":1,"episode":36},{"season":1,"episode":25},{"season":1,"episode":3},{"season":1,"episode":37},{"season":1,"episode":16},{"season":1,"episode":41},{"season":1,"episode":7},{"season":1,"episode":45},{"season":1,"episode":13},{"season":1,"episode":40},{"season":1,"episode":42},{"season":1,"episode":18},{"season":1,"episode":38},{"season":1,"episode":31},{"season":1,"episode":48},{"season":1,"episode":39},{"season":1,"episode":10},{"season":1,"episode":1},{"season":1,"episode":22},{"season":1,"episode":46},{"season":1,"episode":28},{"season":1,"episode":4},{"season":1,"episode":27},{"season":1,"episode":43},{"season":1,"episode":19},{"season":1,"episode":44},{"season":1,"episode":26},{"season":1,"episode":6},{"season":1,"episode":12},{"season":1,"episode":49},{"season":1,"episode":15},{"season":1,"episode":8},{"season":1,"episode":30},{"season":1,"episode":11},{"season":1,"episode":2}]} 2014-01-05 04:00:02.7042, Info, App, Url: http://api.trakt.tv/show/episode/library/************************** Edited January 6, 2014 by abeloin Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 Yea Red - Use IFileSystem.ContainsSubPath, or preferably deprecate all of that Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 Weird, mb3 doesn't update a tv episode recently added. It create a "duplicate" Family Guy.S12E09.Peter Problems (link to the file) Peter Problems (virtual item) 2014-01-05 23:20:58.1009, Info, DirectoryWatchers, /TVSeries/Family Guy/Season 12/Family Guy.S12E09.Peter Problems.mkv reports change.2014-01-05 23:20:58.1012, Info, DirectoryWatchers, Season 12 (/TVSeries/Family Guy/Season 12) will be refreshed. Any idea? Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 the duplicate was already there. the library scan cleans them up. it is on my to do list to make that more nimble so that the scan isnt' needed. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 I've running it twice and still there. I see nothing in the log: 2014-01-06 00:05:46.2174, Info, App, Executing Scan media library2014-01-06 00:05:46.2183, Info, App, Sending web socket message ScheduledTaskStarted2014-01-06 00:05:46.3002, Info, App, Validating media library2014-01-06 00:05:46.5529, Info, App, Validating collection folders within /ProgramData-Server/root/default 2014-01-06 00:07:14.7530, Info, App, Scan media library Completed after 1 minute(s) and 28 seconds Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 ok, log messages aside, what exactly is your problem? Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 This is what I get when adding an episode now: Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 so you added s25 e9? the library scan should make the missing one go away. what's your folder structure like? Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 I did merge in a pull request from @@Aphid relating to this recently. I will have to do more testing to make sure new issues weren't introduced. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 6, 2014 Share Posted January 6, 2014 so you added s25 e9? the library scan should make the missing one go away. what's your folder structure like? Yes /mnt/uuid/TVSeries/The Simpsons/Season 25/The Simpsons.S25E09.Steal This Episode.mkv Movies/ ... Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 6, 2014 Share Posted January 6, 2014 Ok, let me do some testing. Link to comment Share on other sites More sharing options...
xnappo 1593 Posted January 6, 2014 Share Posted January 6, 2014 (edited) Workaround for XBMB3C require a patch that implement path substitution(ie: /share/video/movies to \\server\mb3\movies) see: http://pastebin.com/RJb6YsUw Is this something I need to pull? I thought that smb://server/path was always safe on any platform. You are saying MB3 Linux needs \\server\path?? [EDIT] Okay - I see you are saying general path substitution is needed - let me know if I need to pull this. XBMC already support path substitution too(http://wiki.xbmc.org/index.php?title=Path_substitution)- but is not the most obvious thing. Also - you should be able to use 'Play from stream' instead - in the latest versions this seems to work just as well as SMB. Thanks, Chris Edited January 6, 2014 by xnappo Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted January 7, 2014 Share Posted January 7, 2014 Yes, no need to post a new build. It is working but partially, any task take 0 seconds 2014-01-05 22:36:53.9631, Info, App, HttpClientManager POST: http://api.trakt.tv/account/settings/********************************************* 2014-01-05 22:41:08.7905, Info, App, Executing Sync library to trakt.tv 2014-01-05 22:41:08.7906, Info, App, Sending web socket message ScheduledTaskStarted 2014-01-05 22:41:08.8938, Info, App, Sync library to trakt.tv Completed after 0 minute(s) and 0 seconds Looking at the code, some item.Path.Contains have a backslash in it, which wont work in Linux. I'm wondering why the \ is needed? user.TraktLocations.Where(location => item.Path.Contains(location + "\\"))) Removing them fix the issue in my case: 2014-01-05 23:00:02.3080, Info, App, Post Data: {"username":"******","password":"[Removed]","imdb_id":"tt1214085","tvdb_id":"81751","title":"Soul Eater","year":"2008","episodes":[{"season":1,"episode":20},{"season":1,"episode":47},{"season":1,"episode":51},{"season":1,"episode":14},{"season":1,"episode":17},{"season":1,"episode":23},{"season":1,"episode":32},{"season":1,"episode":21},{"season":1,"episode":24},{"season":1,"episode":34},{"season":1,"episode":5},{"season":1,"episode":29},{"season":1,"episode":35},{"season":1,"episode":50},{"season":1,"episode":33},{"season":1,"episode":9},{"season":1,"episode":36},{"season":1,"episode":25},{"season":1,"episode":3},{"season":1,"episode":37},{"season":1,"episode":16},{"season":1,"episode":41},{"season":1,"episode":7},{"season":1,"episode":45},{"season":1,"episode":13},{"season":1,"episode":40},{"season":1,"episode":42},{"season":1,"episode":18},{"season":1,"episode":38},{"season":1,"episode":31},{"season":1,"episode":48},{"season":1,"episode":39},{"season":1,"episode":10},{"season":1,"episode":1},{"season":1,"episode":22},{"season":1,"episode":46},{"season":1,"episode":28},{"season":1,"episode":4},{"season":1,"episode":27},{"season":1,"episode":43},{"season":1,"episode":19},{"season":1,"episode":44},{"season":1,"episode":26},{"season":1,"episode":6},{"season":1,"episode":12},{"season":1,"episode":49},{"season":1,"episode":15},{"season":1,"episode":8},{"season":1,"episode":30},{"season":1,"episode":11},{"season":1,"episode":2}]} 2014-01-05 04:00:02.7042, Info, App, Url: http://api.trakt.tv/show/episode/library/************************** I'll fix that up using the suggestion Luke made. The reason the "\\" was there was to avoid false positives when comparing paths. For example... C:\Movies\Disaster Movie\Disaster Movie.mkv C:\Movies\Disaster\Armageddon\Armageddon.mkv Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted January 7, 2014 Share Posted January 7, 2014 New trakt build posted if you could test it again abeloin. Thanks. Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 7, 2014 Share Posted January 7, 2014 I've created a new topic to get this organized http://mediabrowser.tv/community/index.php?/topic/3634-mono-server-linux-os-x/ xnappo - hold off for now until i start looking at it. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 7, 2014 Share Posted January 7, 2014 New trakt build posted if you could test it again abeloin. Thanks. Working 2014-01-06 16:02:12.8906, Info, App, Executing Import playstates from Trakt.tv 2014-01-06 16:03:20.4314, Info, Trakt, tMovies count = **** 2014-01-06 16:03:20.4314, Info, Trakt, tShowsCollection count = **** 2014-01-06 16:03:20.4314, Info, Trakt, tShowsWatched count = **** 2014-01-06 16:03:39.6590, Info, App, Import playstates from Trakt.tv Completed after 1 minute(s) and 26 seconds 2014-01-06 16:15:14.1022, Info, App, Executing Sync library to trakt.tv 2014-01-06 16:15:14.2153, Info, App, Sync library to trakt.tv Completed after 0 minute(s) and 0 seconds Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 7, 2014 Share Posted January 7, 2014 Upon further testing, sync is not working. Could it be that line 97 of SyncLibraryTask.cs was not changed to Path.DirectorySeparatorChar? foreach (var s in traktUser.TraktLocations.Where(s => child.Path.StartsWith(s + "\\"))) Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted January 7, 2014 Share Posted January 7, 2014 Dang, I missed that one. Thanks. Link to comment Share on other sites More sharing options...
abeloin 27 Posted January 7, 2014 Share Posted January 7, 2014 I did merge in a pull request from @@Aphid relating to this recently. I will have to do more testing to make sure new issues weren't introduced. I get the same issue with a brand new installation. Link to comment Share on other sites More sharing options...
Luke 37028 Posted January 8, 2014 Share Posted January 8, 2014 I get the same issue with a brand new installation. ok. it's on my to do list. Link to comment Share on other sites More sharing options...
jaytdot 3 Posted March 1, 2014 Share Posted March 1, 2014 Just installed Linux server standalone and it seems that ffmpeg can not extract the album art when indexing music.. the specific exception I am seeing is: 2014-02-26 20:19:46.6007 Error - MediaEncoder: ffmpeg image extraction failed for file:"/mnt/storage/Music_Clean/Delerium/After All (2003)/02 - After All (album edit).mp3" 2014-02-26 20:19:46.6011 Error - App: Error in Image Extractor ffmpeg image extraction failed for file:"/mnt/storage/Music_Clean/Delerium/After All (2003)/02 - After All (album edit).mp3" System.ApplicationException at MediaBrowser.Server.Implementations.MediaEncoder.MediaEncoder+<ExtractImageInternal>c__async6B.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[system.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.MediaEncoder.MediaEncoder+<ExtractImage>c__async6A.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[system.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.MediaInfo.AudioImageProvider+<GetImage>c__async25.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Providers.DynamicImageResponse].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.Manager.ItemImageProvider+<RefreshFromProvider>c__asyncE.MoveNext () [0x00000] in <filename unknown>:0 Anyone seen this? I feel like it's a path or escaping issue due to the spaces in the filename? Let me know if there is more debugging info.. to confirm the user it's being run as can read the path and files... Some configuration info: 2014-02-26 19:56:56.7336 Info - Main: Media Browser Server started 2014-02-26 19:56:56.7518 Info - Main: Command line: /home/mediabrowser/MediaBrowser3/MediaBrowser.Server.Mono.exe 2014-02-26 19:56:56.7521 Info - Main: Server: neuron 2014-02-26 19:56:56.7521 Info - Main: Operating system: Unix 3.2.0.59 2014-02-26 19:56:57.1130 Info - App: Application Configuration: {"WeatherUnit":"Fahrenheit","EnableHttpLevelLogging":true,"HttpServerPortNumber":8096,"LegacyWebSocketPortNumber":8945,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","MetadataRefreshDays":30,"SaveLocalMeta":false,"RefreshItemImages":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"RecentItemDays":10,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeWatcherDelay":20,"EnableDashboardResponseCaching":true,"ManualLoginClients":[],"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","AllowVideoUpscaling":false,"EnableMovieChapterImageExtraction":true,"EnableEpisodeChapterImageExtraction":false,"EnableOtherVideoChapterImageExtraction":false,"MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"TvFileOrganizationOptions":{"IsEnabled":false,"MinFileSizeMb":50,"LeftOverFileExtensionsToDelete":[],"WatchLocations":[],"SeasonFolderPattern":"Season %s","SeasonZeroFolderName":"Season 0","EpisodeNamePattern":"%sn - %sx%0e - %en.%ext","MultiEpisodeNamePattern":"%sn - %sx%0e-x%0ed - %en.%ext","OverwriteExistingEpisodes":false,"DeleteEmptyFolders":false},"LiveTvOptions":{},"EnableRealtimeMonitor":true,"PathSubstitutions":[],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false} 2014-02-26 19:56:57.1171 Info - App: Loading MediaBrowser.Api, Version=3.0.5169.29084, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1198 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5169.29084, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1198 Info - App: Loading MediaBrowser.Model, Version=3.0.5169.29080, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Common, Version=3.0.5169.29081, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Controller, Version=3.0.5169.29082, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Providers, Version=3.0.5169.29082, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5169.29081, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5169.29083, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1200 Info - App: Loading MediaBrowser.Server.Mono, Version=3.0.5169.29085, Culture=neutral, PublicKeyToken=null 2014-02-26 19:56:57.1334 Info - App: Version 3.0.5169.29085 initializing 2014-02-26 19:56:57.2261 Info - SqliteUserRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/users.db 2014-02-26 19:56:57.2804 Info - SqliteItemRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/chapters.db 2014-02-26 19:56:57.2838 Info - SqliteItemRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/mediainfo.db 2014-02-26 19:56:57.2917 Info - SqliteFileOrganizationRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/fileorganization.db 2014-02-26 19:56:57.3891 Info - App: HttpClientManager.GetTempFileResponse url: http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2014-01-18.tar.gz 2014-02-26 19:56:57.4000 Info - App: HttpClientManager.GetTempFileResponse url: https://www.dropbox.com/s/pj847twf7riq0j7/ARIALUNI.7z?dl=1 2014-02-26 20:00:53.5873 Info - SqliteDisplayPreferencesRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/displaypreferences.db 2014-02-26 20:00:53.5885 Info - SqliteItemRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/library.db 2014-02-26 20:00:53.5896 Info - SqliteNotificationsRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/notifications.db 2014-02-26 20:00:53.5910 Info - SqliteUserDataRepository: Opening /home/mediabrowser/MediaBrowser3/ProgramData-Server/data/userdata_v2.db Thanks, Jay 1 Link to comment Share on other sites More sharing options...
Sorbe 0 Posted September 23, 2014 Share Posted September 23, 2014 I've been using Media Browser 2.6.2 with my Synology servers for YEARS. Then when I go to setup a new client machine, the old MediaBrowser 2.6.2 client binaries are gone AND there are no older MB2 binaries download locations. Worse yet, you removed all of the 2.6.2 compatible plug-ins like Pearl, CoverArt, MediaInfo, etc. so that you cannot even download them any more using installed 2.6.2. Now, the new MB3 client will only read from MB3 servers?!? Won't even fire up without an MB3 server on the LAN? And you don't have a server available for Synology and the MB3 client won't read from SMB shares either!! So, where is the working Synology MediaBrowser 3 for SMB/Synology now, it's been 6 months since the last post here? Seems like super-geniuses are in charge of this plan, =tkb Link to comment Share on other sites More sharing options...
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