Jump to content

Error in synching to external SD card


Greg Prz

Recommended Posts

Greg Prz

Using latest release for server and moto g 3rd gen phone. Trying to synch to external card here is the log.

05:54:00.284 [main] INFO App - Searching for com.google.android.webview

05:54:00.298 [main] INFO App - com.google.android.webview version name: 51.0.2704.81

05:54:00.299 [main] INFO App - com.google.android.webview version code: 270408100

05:54:00.299 [main] INFO App - Parsing 51 to determine chromium version

05:54:00.300 [main] INFO App - Chromium version: 51

05:54:00.664 [main] DEBUG App - AndroidSyncFileRepository started. syncPath: file:///storage/EAFC-0E12/Music

05:54:01.091 [main] INFO App - Searching for com.google.android.webview

05:54:01.092 [main] INFO App - com.google.android.webview version name: 51.0.2704.81

05:54:01.096 [main] INFO App - com.google.android.webview version code: 270408100

05:54:01.096 [main] INFO App - Parsing 51 to determine chromium version

05:54:01.096 [main] INFO App - Chromium version: 51

05:54:01.102 [main] DEBUG App - Calling MediaSyncAdapter.updateSyncPreferences. syncPath: file:///storage/EAFC-0E12/Music

05:54:03.499 [JavaBridge] INFO App - Received instruction to updateCredentials

05:54:03.512 [JavaBridge] INFO App - AppVersion: 2.6.93

05:54:03.513 [JavaBridge] INFO App - DeviceId: 74b4c2969ae5d912

05:54:03.513 [JavaBridge] INFO App - DeviceName: MotoG3

05:54:04.021 [JavaBridge] INFO App - initStore called

05:54:04.024 [JavaBridge] DEBUG App - IAB helper created.

05:54:04.031 [JavaBridge] DEBUG App - Starting in-app billing setup.

05:54:04.705 [JavaBridge] INFO App - initialize origin_scoped 2D4B1DA3 2D4B1DA3

05:54:04.706 [JavaBridge] INFO App - lastAppId 2D4B1DA3

05:54:05.348 [JavaBridge] INFO App - Received instruction to updateCredentials

05:54:05.630 [main] DEBUG App - Billing service connected.

05:54:05.641 [main] DEBUG App - Checking for in-app billing 3 support.

05:54:05.844 [JavaBridge] INFO App - Received instruction to updateCredentials

05:54:06.483 [main] DEBUG App - In-app billing version 3 supported for com.mb.android

05:54:06.488 [main] DEBUG App - Subscriptions AVAILABLE.

05:54:06.495 [main] DEBUG App - Starting async operation: refresh inventory

05:54:06.502 [Thread-115402] DEBUG App - Querying owned items, item type: inapp

05:54:06.502 [Thread-115402] DEBUG App - Package name: com.mb.android

05:54:06.516 [Thread-115402] DEBUG App - Querying SKU details.

05:54:07.821 [Thread-115402] DEBUG App - Querying owned items, item type: subs

05:54:07.822 [Thread-115402] DEBUG App - Package name: com.mb.android

05:54:07.825 [Thread-115402] DEBUG App - Querying SKU details.

05:54:08.213 [Thread-115402] DEBUG App - Ending async operation: refresh inventory

05:54:08.251 [main] INFO App - Sending url to webView: IapManager.onStoreReady();

05:54:08.255 [JavaBridge] INFO App - getPurchaseInfos

05:54:08.262 [JavaBridge] INFO App - Checking purchase status of com.mb.android.unlock

05:54:08.263 [JavaBridge] DEBUG App - Starting async operation: refresh inventory

05:54:08.267 [Thread-115403] DEBUG App - Querying owned items, item type: inapp

05:54:08.270 [Thread-115403] DEBUG App - Package name: com.mb.android

05:54:08.275 [Thread-115403] DEBUG App - Querying SKU details.

05:54:08.276 [Thread-115403] DEBUG App - queryPrices: nothing to do because there are no SKUs.

05:54:08.276 [Thread-115403] DEBUG App - Querying owned items, item type: subs

05:54:08.276 [Thread-115403] DEBUG App - Package name: com.mb.android

05:54:08.279 [Thread-115403] DEBUG App - Querying SKU details.

05:54:08.280 [Thread-115403] DEBUG App - queryPrices: nothing to do because there are no SKUs.

05:54:08.280 [Thread-115403] DEBUG App - Ending async operation: refresh inventory

05:54:08.282 [JavaBridge] INFO App - *** IsPurchased Result: com.mb.android.unlock Failure

05:54:08.284 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("com.mb.android.unlock", false)

05:54:08.286 [JavaBridge] INFO App - Checking purchase status of emby.supporter.monthly

05:54:08.286 [JavaBridge] DEBUG App - Starting async operation: refresh inventory

05:54:08.287 [Thread-115404] DEBUG App - Querying owned items, item type: inapp

05:54:08.288 [Thread-115404] DEBUG App - Package name: com.mb.android

05:54:08.293 [Thread-115404] DEBUG App - Querying SKU details.

05:54:08.294 [Thread-115404] DEBUG App - queryPrices: nothing to do because there are no SKUs.

05:54:08.294 [Thread-115404] DEBUG App - Querying owned items, item type: subs

05:54:08.294 [Thread-115404] DEBUG App - Package name: com.mb.android

05:54:08.298 [Thread-115404] DEBUG App - Querying SKU details.

05:54:08.298 [Thread-115404] DEBUG App - queryPrices: nothing to do because there are no SKUs.

05:54:08.298 [Thread-115404] DEBUG App - Ending async operation: refresh inventory

05:54:08.299 [JavaBridge] INFO App - *** IsPurchased Result: emby.supporter.monthly Failure

05:54:08.299 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("emby.supporter.monthly", false)

05:54:08.325 [main] INFO App - Skipping auto-connect to route SHIELD

05:54:17.705 [main] INFO App - file:///android_asset/www/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html: Line 12 : This file is deprecated. Please use `iron-flex-layout/iron-flex-layout-classes.html`, and one of the specific dom-modules instead

05:54:17.721 [main] INFO App - file:///android_asset/www/bower_components/iron-flex-layout/classes/iron-flex-layout.html: Line 14 : This file is deprecated. Please use `iron-flex-layout/iron-flex-layout-classes.html`, and one of the specific dom-modules instead

05:54:18.086 [main] INFO App - : Line 0 : /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.

05:54:19.437 [JavaBridge] INFO App - Received instruction to updateCredentials

05:54:29.684 [main] INFO App - file:///android_asset/www/index.html#!/selectserver.html?showuser=1: Line 0 : Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.

05:54:30.074 [JavaBridge] INFO App - Received instruction to updateCredentials

05:54:32.816 [main] INFO App - file:///android_asset/www/index.html#!/home.html: Line 0 : Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.

05:54:46.372 [syncAdapterThread-1] DEBUG App - Checking network connection

05:54:46.376 [syncAdapterThread-1] DEBUG App - Local Network Connected

05:54:46.379 [syncAdapterThread-1] INFO App - MediaSyncAdapter starting

05:54:46.534 [syncAdapterThread-1] DEBUG App - AndroidSyncFileRepository started. syncPath: file:///storage/EAFC-0E12/Music

05:54:46.537 [syncAdapterThread-1] DEBUG App - Getting saved servers via credential provider

05:54:46.595 [syncAdapterThread-1] DEBUG App - Scanning network for local servers

05:54:46.597 [syncAdapterThread-1] DEBUG App - Getting server list from Connect

05:54:46.607 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 255.255.255.255 (DEFAULT)

05:54:46.643 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 172.31.255.255; Interface: wlan0

05:54:46.663 [syncAdapterThread-1] DEBUG App - Adding request to queue: https://connect.mediabrowser.tv/service/user?id=102600

05:54:46.664 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Done looping over all network interfaces. Now waiting for a reply!

05:54:46.694 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: 172.31.1.25

05:54:46.698 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: {"Address":"http://172.31.1.25:8096","Id":"1134e12929fe4cdc822db1a8bc9ada44","Name":"Playon"}

05:54:46.700 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: 172.31.1.25

05:54:46.701 [Thread-115406] DEBUG App - mediabrowser.apiinteraction.discovery.ServerLocator>>> Broadcast response from server: {"Address":"http://172.31.1.25:8096","Id":"1134e12929fe4cdc822db1a8bc9ada44","Name":"Playon"}

05:54:47.437 [main] INFO App - Response received from: https://connect.mediabrowser.tv/service/user?id=102600

05:54:47.446 [main] DEBUG App - Getting connect servers

05:54:47.449 [main] DEBUG App - Adding request to queue: https://connect.mediabrowser.tv/service/servers?userId=102600

05:54:47.576 [main] INFO App - Response received from: https://connect.mediabrowser.tv/service/servers?userId=102600

05:54:47.688 [Thread-115406] DEBUG App - Server discovery timed out waiting for response.

05:54:47.690 [Thread-115406] DEBUG App - Found 1 servers

05:54:47.754 [Thread-115406] DEBUG App - Testing local device network connection

05:54:47.756 [Thread-115406] DEBUG App - Android device is connected to a network

05:54:47.758 [Thread-115406] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/system/info/public?format=json

05:54:47.759 [Thread-115414] DEBUG App - Waking server: Playon, Id: 1134e12929fe4cdc822db1a8bc9ada44

05:54:47.774 [Thread-115414] DEBUG App - Sending WakeOnLan over broadcast address. Mac: D0-50-99-67-DB-6F, Port: 9

05:54:47.837 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/system/info/public?format=json

05:54:47.865 [main] DEBUG App - Adding authentication info from Connect

05:54:47.866 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/Connect/Exchange?format=json&ConnectUserId=102600

05:54:47.878 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/Connect/Exchange?format=json&ConnectUserId=102600

05:54:47.882 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/system/info?format=json

05:54:47.913 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/system/info?format=json

05:54:47.937 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/mediabrowser/users/32bb365cbbc4473a96a4214dfc9b687b?format=json

05:54:47.949 [main] INFO App - Response received from: http://172.31.1.25:8096/mediabrowser/users/32bb365cbbc4473a96a4214dfc9b687b?format=json

05:54:48.004 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/Users/32bb365cbbc4473a96a4214dfc9b687b/Offline?format=json

05:54:48.017 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/Users/32bb365cbbc4473a96a4214dfc9b687b/Offline?format=json

05:54:48.061 [main] DEBUG App - Beginning media sync process with server Id: 1134e12929fe4cdc822db1a8bc9ada44

05:54:48.070 [main] DEBUG App - Reporting 0 offline actions to server 1134e12929fe4cdc822db1a8bc9ada44

05:54:48.072 [main] DEBUG App - Enter SyncData

05:54:48.096 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/Sync/Data?format=json

05:54:48.133 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/Sync/Data?format=json

05:54:48.161 [main] DEBUG App - Calling SyncDataInnerResponse.triggerInnerResponse

05:54:48.162 [main] DEBUG App - Begin GetNewMedia

05:54:48.165 [main] DEBUG App - Adding request to queue: http://172.31.1.25:8096/emby/Sync/Items/Ready?TargetId=74b4c2969ae5d912&format=json

05:54:48.241 [main] INFO App - Response received from: http://172.31.1.25:8096/emby/Sync/Items/Ready?TargetId=74b4c2969ae5d912&format=json

05:54:48.242 [main] DEBUG App - Received response from http://172.31.1.25:8096/emby/Sync/Items/Ready?TargetId=74b4c2969ae5d912&format=json

05:54:48.394 [main] DEBUG App - Ready sync items response returned 1 items

05:54:48.395 [main] DEBUG App - Getting new item from sync Valentine

05:54:48.399 [Thread-115415] DEBUG App - Getting response stream from http://172.31.1.25:8096/emby/Sync/JobItems/18046f6eabc745b38270fdfacbc7b142/File

05:54:48.439 [Thread-115415] DEBUG App - Got item file response stream

05:54:48.440 [Thread-115415] DEBUG App - Saving media to file:/storage/EAFC-0E12/Music/Playon/Music/Valentine/01_-_Jim_Brickman_-_Valentine_-_Valentine.mp3

05:54:48.586 [Thread-115415] ERROR App - Error getting synced item

java.io.IOException

com.google.common.io.Files.createParentDirs(Files.java:478)

mediabrowser.apiinteraction.sync.data.FileRepository.saveFile(FileRepository.java:29)

mediabrowser.apiinteraction.sync.data.LocalAssetManager.saveMedia(LocalAssetManager.java:114)

mediabrowser.

Link to comment
Share on other sites

darkblade

I have the exact same issue, when comparing the log files I also see this line for every music track I'm trying to sync:

 

ERROR App - Error getting synced item
java.io.IOException
com.google.common.io.Files.createParentDirs(Files.java:478)
mediabrowser.apiinteraction.sync.data.FileRepository.saveFile(FileRepository.java:29)
mediabrowser.apiinteraction.sync.data.LocalAssetManager.saveMedia(LocalAssetManager.java:114)
mediabrowser.

 

Syncing to the default location works fine, but when I select a folder on /sdcard I get this issue. It feels like a permission issue

but I can create the folder using the emby app just fine.

I did notice the owner of the default emby folder is com.mb.android while the folder on the sdcard is owned by root.

The group for both is sdcard_rw and the permission is set to RWX for group so it should not be a problem.

 

I did not have root permissions while creating the folder and I noticed that all folders on sdcard are owned by root so I think that is android default behavior.

 

I have a nexus 5 running Cyanogenmod 13 (Android 6)

Link to comment
Share on other sites

  • 1 year later...

@@Greg Prz

@@darkblade

 

2.9.32 is rolling out and supports offline browsing and playback. The feature is still very new so please make sure to leave your feedback and we will continue to improve it. Thanks !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...