Error when using built in Google Drive service.

Hey guys, not sure who maintains the default services.bundle so I figured I'll just post here.  I'm working on a new channel that plays content from a website that hosts it's videos in Google Drive.  The videos play fine in PHT and Plex/Web, however when I try to play them from the Android app I an error (see logs from Android client below).  What's interesting is that I don't believe its a bug in the Google Drive service as I created my own rudimentary service (by opening Google docs preview player as a string and pulls videos from the fmt list with regex) and I get the same results.

 

Is there any reason why these videos wouldn't play on the mobile client?

Thanks in advance,

 

Jamie

D/Plex    (23815): Fetching http://192.168.0.100:32400/video/g2gfm/episodedetail?url=http%3A%2F%2Fg2g.fm%2Fmovies%2Fgoto-20527&title=The+Lego+Movie+%282014%29&X-Plex-Token=
D/dalvikvm(23815): GC_CONCURRENT freed 6798K, 17% free 43497K/52404K, paused 4ms+26ms, total 135ms
D/Plex    (23815): Entering GenericContainerActivity.
D/Plex    (23815): Resuming GenericContainerActivity.
W/MenuInflater(23815): Ignoring attribute 'actionProviderClass'. Action view already specified.
D/Plex    (23815): Fetching http://192.168.0.100:32400/system/services/url/lookup?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
D/Plex    (23815): Entering PreplayGenericVideoActivity.
D/Plex    (23815): Resuming PreplayGenericVideoActivity.
W/MenuInflater(23815): Ignoring attribute 'actionProviderClass'. Action view already specified.
D/Plex    (23815): Entering VideoPlayerActivity.
D/Plex    (23815): Resuming VideoPlayerActivity.
D/Plex    (23815): Entering VideoPlayerActivity.
D/Plex    (23815): [SBB] VideoPlayerActivity We're in landscape (1280 x 768).
D/Plex    (23815): Resuming VideoPlayerActivity.
D/Plex    (23815): Fetching http://192.168.0.100:32400/:/timeline?time=0&duration=-1&machineIdentifier=a946c3258e45fb7e8c376f45e3a5a0eb0b46dc66&token=kXFNyqPqPwQ43qszRbGF&ratingKey=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&state=buffering&key=%2Fsystem%2Fservices%2Furl%2Flookup%3Furl%3Dhttps%253A%252F%252Fdocs.google.com%252Ffile%252Fd%252F0B88GMgtVLgalSll1bHJOQkZDRU0&url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
E/Plex    (23815): Error fetching http://192.168.0.100:32400/:/timeline?time=0&duration=-1&machineIdentifier=a946c3258e45fb7e8c376f45e3a5a0eb0b46dc66&token=kXFNyqPqPwQ43qszRbGF&ratingKey=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&state=buffering&key=%2Fsystem%2Fservices%2Furl%2Flookup%3Furl%3Dhttps%253A%252F%252Fdocs.google.com%252Ffile%252Fd%252F0B88GMgtVLgalSll1bHJOQkZDRU0&url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
D/Plex    (23815): [SBB] VideoPlayerActivity We're in landscape - measured bottom button bar to be 0 pixels high, 84 pixels wide.
D/Plex    (23815): [SBB] Offsetting by 84 / 0 pixels
D/dalvikvm(23815): GC_FOR_ALLOC freed 4125K, 20% free 42337K/52404K, paused 105ms, total 105ms
D/Plex    (23815): Fetching http://192.168.0.100:32400/:/plugins/com.plexapp.system/serviceFunction/url/com.plexapp.plugins.googledrive/Google%20Drive/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&indirect=1&kwargs=Y2VyZWFsMQoxCmRpY3QKMgpzNTkKaHR0cHM6Ly9kb2NzLmdvb2dsZS5jb20vZmlsZS9kLzBCODhHTWd0VkxnYWxTbGwxYkhKT1FrWkRSVTBzMwp1cmxzNAoxMDgwczMKcmVzcjAK&mediaInfo=%7B%22audio_channels%22%3A%202%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%20null%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mp4%22%2C%20%22audio_codec%22%3A%20%22aac%22%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20%22h264%22%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%203000%7D&postURL=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
D/dalvikvm(23815): GC_FOR_ALLOC freed 411K, 20% free 42194K/52404K, paused 70ms, total 70ms
D/Plex    (23815): Fetching http://192.168.0.100:32400/:/timeline?time=0&duration=-1&machineIdentifier=a946c3258e45fb7e8c376f45e3a5a0eb0b46dc66&token=kXFNyqPqPwQ43qszRbGF&ratingKey=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&state=buffering&key=%2Fsystem%2Fservices%2Furl%2Flookup%3Furl%3Dhttps%253A%252F%252Fdocs.google.com%252Ffile%252Fd%252F0B88GMgtVLgalSll1bHJOQkZDRU0&url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
E/Plex    (23815): Error fetching http://192.168.0.100:32400/:/timeline?time=0&duration=-1&machineIdentifier=a946c3258e45fb7e8c376f45e3a5a0eb0b46dc66&token=kXFNyqPqPwQ43qszRbGF&ratingKey=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&state=buffering&key=%2Fsystem%2Fservices%2Furl%2Flookup%3Furl%3Dhttps%253A%252F%252Fdocs.google.com%252Ffile%252Fd%252F0B88GMgtVLgalSll1bHJOQkZDRU0&url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=
D/Plex    (23815): [video] Starting Playback for: Copy of The Lego Movie.mp4
W/System.err(23815): java.net.MalformedURLException: java.lang.NumberFormatException: Invalid int: "32400https:"
W/System.err(23815): at java.net.URL.(URL.java:190)
W/System.err(23815): at java.net.URL.(URL.java:125)
W/System.err(23815): at com.plexapp.plex.net.PlexConnection.buildURL(PlexConnection.java:118)
W/System.err(23815): at com.plexapp.plex.net.PlexDevice.buildURL(PlexDevice.java:79)
W/System.err(23815): at com.plexapp.plex.net.PlexDevice.buildURL(PlexDevice.java:64)
W/System.err(23815): at com.plexapp.plex.net.PlexItem.getVideoPlaybackURL(PlexItem.java:313)
W/System.err(23815): at com.plexapp.plex.videoplayer.LocalVideoPlayer.onDecisionMade(LocalVideoPlayer.java:544)
W/System.err(23815): at com.plexapp.plex.mediaselection.MediaDecisionEngine$MediaDecisionTask.onPostExecute(MediaDecisionEngine.java:324)
W/System.err(23815): at com.plexapp.plex.mediaselection.MediaDecisionEngine$MediaDecisionTask.onPostExecute(MediaDecisionEngine.java:291)
W/System.err(23815): at android.os.AsyncTask.finish(AsyncTask.java:632)
W/System.err(23815): at android.os.AsyncTask.access$600(AsyncTask.java:177)
W/System.err(23815): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
W/System.err(23815): at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err(23815): at android.os.Looper.loop(Looper.java:136)
W/System.err(23815): at android.app.ActivityThread.main(ActivityThread.java:5001)
W/System.err(23815): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(23815): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err(23815): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
W/System.err(23815): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
W/System.err(23815): at dalvik.system.NativeStart.main(Native Method)
E/Plex    (23815): An error occurred while attempting to play: /system/services/url/lookup?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0
E/Plex    (23815): It is not possible to play this video as no connection to the required server could be found.

That honestly looks like a bug in the Android Plex app to me, I passed this URL along to them, we'll see if it's something they can find.  I don't think it's a service issue offhand -- seems more like an app specific problem to me.

OK cool, thanks for the help.  I'll leave the post marked unsolved for the time being in the hope of a confirmation.

Sorry, but i'm still struggling to identify the issue here. Would it be possible for you to send me the XML returned from your channel for the following request:

D/Plex    (23815): Fetching http://192.168.0.100:32400/:/plugins/com.plexapp.system/serviceFunction/url/com.plexapp.plugins.googledrive/Google%20Drive/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&indirect=1&kwargs=Y2VyZWFsMQoxCmRpY3QKMgpzNTkKaHR0cHM6Ly9kb2NzLmdvb2dsZS5jb20vZmlsZS9kLzBCODhHTWd0VkxnYWxTbGwxYkhKT1FrWkRSVTBzMwp1cmxzNAoxMDgwczMKcmVzcjAK&mediaInfo=%7B%22audio_channels%22%3A%202%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%20null%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mp4%22%2C%20%22audio_codec%22%3A%20%22aac%22%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20%22h264%22%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%203000%7D&postURL=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B88GMgtVLgalSll1bHJOQkZDRU0&X-Plex-Token=

Thanks,

Ian

Actually, I think i've found it... Ping me if you want a private APK to test to confirm

Ian

Actually, I think i've found it... Ping me if you want a private APK to test to confirm

Ian

Sent a PM.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.