Jump to content


Photo

Android Mobile

android

  • Please log in to reply
1273 replies to this topic

#41 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 28 November 2013 - 11:12 PM

Hi Red,

 

I've been following your Android release since the early Beta releases.  Great job on a fantastic looking app.  I've been using it on my Samsung Galaxy S4 with MX Player as an external player and have been very happy with it.  I'm currently on version 1.0.2 from the Play store.  Sometime between RC 1 and 1.02, some of my collections stopped populating correctly.  I can see all the collections in the library screen, but when I select my movie collection, I just get a blank black screen.  If I try to swipe on it, I see a blank outline of the vertical alphabet strip on the far right side, but nothing else.  However, some of my collections populate just as expected.

 

To simplify things, I removed all my collections except the podcast collection, then added my movie collection back in.  Again, I just get a black screen.  I've attached the server log and the Android log from my phone.  My current server version is Version 3.0.5078.42671

 

I should also mention that for a brief time, my movie collection wasn't showing up in MB Classic either, but after adding in the new link to the collection, it now shows up in both MB Classic and MB Theater.  It has always been visible in the Web interface, so I know it's not just a bad link.  And I am using the UNC shares not the local path.

 

The server is logging an error when the request is made. Perhaps @Luke can help.



#42 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157148 posts
  • Local time: 03:41 AM

Posted 28 November 2013 - 11:51 PM

That error means that during the server's transmission of the response, one side or the other closed the connection. There is no way for us to know unless perhaps there's some debug logs on the android device that might tell us. But usually when we see that it's the client.



#43 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 29 November 2013 - 12:12 AM

Looking at the server logs Luke it looks like it's taking the server 30 seconds to generate the responses, if that's the case then the client is closing the connection after 5 seconds because no data has been transmitted. Am I wrong that the server is taking that long?



#44 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157148 posts
  • Local time: 03:41 AM

Posted 29 November 2013 - 12:15 AM

That's the amount of time from when the server received the request to when the transmission of the response ended, so it could include a timeout. If you want to know how long it took for the server to prepare the response before it started sending it, we don't currently have that information in the log so another message would be needed.



#45 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 29 November 2013 - 03:37 AM

Thanks Red,

 

  1. Series posters definitely show up in all my other clients. Navigating in landscape makes no difference. When navigating into a Series, all the Season posters display perfectly.
  2. Here are the server debug logs as well as client for the same time. Ignore the library scan post restart. The Android client connects at timestamp 7:21:47

The sequence for the Sorting test was done 3 times, starting with default 'Ascending' on 'Date Added'

 

Asc > Desc = returned random order

Desc > Asc = back to normal oldest date

Asc > Desc = returned the correct newest movies

Desc > Asc = back to normal oldest date

Asc > Desc = returned another random order

 

Hope this helps

 

Unfortunately the logs didn't provide any insight. Just for kicks, can you go into the devices settings->apps->MediaBrowser and clear the cache. Then launch the app and see if the series posters show.

 

Just to be sure. You do have "prefer posters" set to on in the apps configuration?


Edited by Redshirt, 29 November 2013 - 03:39 AM.


#46 blade005 OFFLINE  

blade005

    Advanced Member

  • Alpha Testers
  • 732 posts
  • Local time: 02:41 AM

Posted 29 November 2013 - 04:30 PM

I think this is due to the aired date. If the aired date is still in the future, it seems to not show up. Probably the episodes are showing up on the next day.

 

I'll take a closer look, but this is occurring on all TV additions and only in the Android Client. I am adding these on the same day that they aired.



#47 arztonyou OFFLINE  

arztonyou

    Advanced Member

  • Members
  • 67 posts
  • Local time: 01:41 AM

Posted 29 November 2013 - 06:48 PM

That's the amount of time from when the server received the request to when the transmission of the response ended, so it could include a timeout. If you want to know how long it took for the server to prepare the response before it started sending it, we don't currently have that information in the log so another message would be needed.

 

 

 

After reading your responses, I took a closer look at my movies collection.  It consisted of multiple paths, so I split them into separate collections to test each one.  It appears that the issue is an external hard drive connected to my router that contains part of my collection.  I have to leave for the weekend, but I'll test more when I get back home.  I haven't changed anything in my network configuration, but maybe something is failing.

 

During the period when I started having problems, I did add the XBMC Metadata saver and I also switched from nested folders to using the [boxset] tags in a bunch of boxsets.  Can you think of anything from either of those changes that might cause such a delay in communication between the server and the external hard drive?



#48 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 29 November 2013 - 06:58 PM

No those sound like reasonable changes. As you mention though a drive might be failing. I've added additional logging to my internal builds to log if a socket timeout is actually happening. It'll probably be this time next week when it goes public as my beta team needs to have a go at it first.

#49 skidmarks OFFLINE  

skidmarks

    Advanced Member

  • Members
  • 549 posts
  • Local time: 03:41 AM

Posted 30 November 2013 - 01:21 PM

Great Job redshirt (wont say perfect because you beat me down the last time I said that)! Got it at the Kindle Store (using my Samsung Galaxy Tab3). Thanks for your commitment, time and effort on this and to the community in general!

Bravo Zulu to you!
  • Redshirt likes this

#50 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 03 December 2013 - 09:57 PM

@arztonyou The newest build, version 1.0.6, has additional logging to determine if a socket timeout is actually happening. Can you please re-test entering your movie collection and provide me the client log.



#51 arztonyou OFFLINE  

arztonyou

    Advanced Member

  • Members
  • 67 posts
  • Local time: 01:41 AM

Posted 04 December 2013 - 08:43 PM

@arztonyou The newest build, version 1.0.6, has additional logging to determine if a socket timeout is actually happening. Can you please re-test entering your movie collection and provide me the client log.

 

I finally got a chance to do some testing last night.  For the moment, I decided to connect the external hard drive directly to the PC where the server is installed instead of connecting it to my router, and the performance is much better now.  I haven't had any problems with my collections in the Android app since I made the change.  If I do have any problems, I'll provide a log for you.  Sorry about bugging you only to find out it was an internal network issue.

 

Now I love the Android app more than ever!!!


  • Luke and Redshirt like this

#52 seanbuff OFFLINE  

seanbuff

    Advanced Member

  • Members
  • 282 posts
  • Local time: 05:41 PM
  • LocationSydney, Australia

Posted 05 December 2013 - 07:32 AM

Unfortunately the logs didn't provide any insight. Just for kicks, can you go into the devices settings->apps->MediaBrowser and clear the cache. Then launch the app and see if the series posters show.

 

Just to be sure. You do have "prefer posters" set to on in the apps configuration?

 

Red, clearing the cache and data on both my devices had no affect on the series posters.

And yes, I do have 'Prefer Posters' enabled in the apps settings. When I disable it, it displays the series backdrops no problem.

 

However, I like to see my Movies view by posters instead of backdrops.

 

Any luck with the weird sorting issue?



#53 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 05 December 2013 - 06:33 PM

I have an idea what it might be. We'll see in the next public release.



#54 Savage13 OFFLINE  

Savage13

    Advanced Member

  • Members
  • 44 posts
  • Local time: 03:41 AM

Posted 05 December 2013 - 10:39 PM

Edit:  I guess nevermind this.  They WERE playign fine in the web client but it seems that it stopped working there too.  Something with the server perhaps?

 

Seems like the client takes forever to start playing a video.  When it comes to DVR-MS type videos they do not play at all.  Is this an incompatibility with the android client?  They play fine on my computer via the web client.  Here's a snip from my log:

 

2013-12-05 21:58:38.0876, Debug, HttpServer, HTTP GET request received from 192.168.1.1:52709
Headers: Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 31.0.1650.63", DeviceId="fb4ba1bf9db184b8d649db73a24c5d98571d7d8d", Version="3.0.5083.27698", UserId="4f4148838d631b6990cc90e8459e1321",Host=myIP.serveftp.com:8096,Referer=http://MyIP.serveftp...ent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
2013-12-05 21:58:38.0946, Debug, HttpServer, Response code 200 sent to 192.168.1.1:52709. Response time: 7.0004 ms
Headers: X-UA-Compatible=IE=Edge,Vary=Accept-Encoding,X-Powered-By=ServiceStack/3.970 Win32NT/.NET,Access-Control-Allow-Origin=*,Access-Control-Allow-Methods=GET, POST, PUT, DELETE, OPTIONS,Access-Control-Allow-Headers=Content-Type,Content-Type=application/json,Content-Encoding=deflate,Transfer-Encoding=chunked
2013-12-05 21:58:38.1136, Debug, HttpServer, HTTP GET request received from 192.168.1.1:52709
Headers: Connection=keep-alive,Accept=*/*,Accept-Encoding=identity;q=1, *;q=0,Accept-Language=en-US,en;q=0.8,Host=myIP.serveftp.com:8096,Referer=http://myIP.serveftp...ent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
2013-12-05 21:58:38.1136, Info, App, C:\Users\Brandon\AppData\Roaming\MediaBrowser-Server\ffmpeg\ffmpeg20131110\ffmpeg.exe -i file:"\\HTPC\RenamedTV\Dads (2013)\Season 1\S01E10.dvr-ms" -map 0:0 -map 0:1 -map -0:s -vcodec libvpx -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=min(iw\,1280):-1" -speed 16 -quality good -profile:v 0 -slices 8 -b:v 2000000 -vsync vfr -threads 2 -acodec libvorbis -ac 2 -ab 128000 -af "aresample=async=1000,volume=2.000000" "C:\Users\Brandon\AppData\Roaming\MediaBrowser-Server\cache\encoded-media\b00cb63e-a71b-0b95-f9af-620fcf07dd79.webm"
2013-12-05 21:58:41.4038, Debug, HttpServer, Response code 200 sent to 192.168.1.1:52709. Response time: 3290.1882 ms
Headers: X-UA-Compatible=IE=Edge,X-Powered-By=ServiceStack/3.970 Win32NT/.NET,Access-Control-Allow-Origin=*,Access-Control-Allow-Methods=GET, POST, PUT, DELETE, OPTIONS,Access-Control-Allow-Headers=Content-Type,Accept-Ranges=none,Content-Type=video/webm,Transfer-Encoding=chunked
2013-12-05 21:58:41.4038, Debug, SessionWebSocketListener, Received PlaybackStart message
2013-12-05 21:58:41.4038, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:58:42.4148, Info, App, Killing ffmpeg process for C:\Users\Brandon\AppData\Roaming\MediaBrowser-Server\cache\encoded-media\b00cb63e-a71b-0b95-f9af-620fcf07dd79.webm
2013-12-05 21:58:42.4148, Info, App, FFMpeg exited with code -1 for C:\Users\Brandon\AppData\Roaming\MediaBrowser-Server\cache\encoded-media\b00cb63e-a71b-0b95-f9af-620fcf07dd79.webm
2013-12-05 21:58:42.4308, Info, App, Deleting partial stream file(s) C:\Users\Brandon\AppData\Roaming\MediaBrowser-Server\cache\encoded-media\b00cb63e-a71b-0b95-f9af-620fcf07dd79.webm
2013-12-05 21:58:46.1970, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:58:50.1993, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:58:54.1985, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:58:58.1987, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:59:02.1980, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:59:06.1982, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:59:10.1984, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:59:14.1986, Error, SessionWebSocketListener, Unable to find session based on web socket message
2013-12-05 21:59:17.9999, Debug, SessionWebSocketListener, Received PlaybackStopped message
2013-12-05 21:59:17.9999, Error, SessionWebSocketListener, Unable to find session based on web socket message

Edited by Savage13, 05 December 2013 - 11:04 PM.


#55 blade005 OFFLINE  

blade005

    Advanced Member

  • Alpha Testers
  • 732 posts
  • Local time: 02:41 AM

Posted 06 December 2013 - 07:49 PM

Savage13. Are you using the internal player on the Android Client?  That is the only way to play DVR-MS or WTV recorded files through Android client. Server has to do the transcoding. There is a considerable start up time after selecting play, but I have played both DVR-MS and WTV files through the Android client.  Granted, a few selections have not started and I had to close out and restart Android client, but then they were able to spin up and play.



#56 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 06 December 2013 - 09:38 PM

Savage13. Are you using the internal player on the Android Client? That is the only way to play DVR-MS or WTV recorded files through Android client. Server has to do the transcoding. There is a considerable start up time after selecting play, but I have played both DVR-MS and WTV files through the Android client. Granted, a few selections have not started and I had to close out and restart Android client, but then they were able to spin up and play.


Good point. I don't use dvr-ms/wtv files so had never thought about it. I'll add that point to the pop-up tjat now shows when you toggle the external player

#57 ginjaninja OFFLINE  

ginjaninja

    Advanced Member

  • Members
  • 1854 posts
  • Local time: 08:41 AM
  • Locationuk

Posted 06 December 2013 - 09:37 PM

Hi Redshirt

im using media browser on S4 over an 3 unlimited plan for music on move  (upload bandwidth no good for tv/movies in real time at reasonable quality), and from tab 2.0 with external mx player and hw codec and its working very well.

i recall you mention your happy to receive requests/ideas.

 

Feature Request: Cache Content Locally either whilst on lan or accross cellular for playback at fuller/full resolution.

A simple interface to cache content locally  would be great, ie tag a few tv shows for download onto device (fifo with maximum cache size setting, option for native or transcoded) might be popular. ie expanding the support for viewing content away from home in low bandwidth environments.

 

Feature Request: Queue Music and play music whilst browsing the music collection.

 

Feature Request: Remote Play Music albums to eg. xbox/mbc (for people who also use the android client as a remote)

 

thank you for considering.



#58 thoror OFFLINE  

thoror

    Advanced Member

  • Members
  • 41 posts
  • Local time: 01:41 AM

Posted 06 December 2013 - 08:32 PM

Hi Red,

I also have a feature request that I hope will eventually be implemented.

I would like to be able to change the subtitle and bitrate while watching a video directly in the player.

 

Thanks!



#59 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5078 posts
  • Local time: 12:41 AM
  • LocationBritish Columbia, Canada

Posted 06 December 2013 - 09:46 PM

@ginjaninja @thoror

 

It's safe to assume that pretty much all of those features will be added at some point and one of them is being worked on right now.... :D



#60 Savage13 OFFLINE  

Savage13

    Advanced Member

  • Members
  • 44 posts
  • Local time: 03:41 AM

Posted 07 December 2013 - 01:39 AM

Savage13. Are you using the internal player on the Android Client? That is the only way to play DVR-MS or WTV recorded files through Android client. Server has to do the transcoding. There is a considerable start up time after selecting play, but I have played both DVR-MS and WTV files through the Android client. Granted, a few selections have not started and I had to close out and restart Android client, but then they were able to spin up and play.


Yes I'm using the mb client on default settings no external player. Dvr-ms files sit there for minutes and never play.

Edited by Savage13, 07 December 2013 - 01:39 AM.






Also tagged with one or more of these keywords: android

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users