SearchServiceRecord Services and DirectoryObject error...

Hello,

I have the following error when I try to use a DirectoryObject call in services search.

This is my statment:

oc.add(DirectoryObject(key=Callback(SubMoviePageAdd, title=MOVIES_TITLE, page=MOVIES_PAGE, date=MOVIES_YEAR, thumb=MOVIES_THUMB), title=MOVIES_TITLE, summary=MOVIES_SUMMARY, thumb=Callback(GetThumb, url=MOVIES_THUMB)))

This is the Log Error when statment called from SearchServiceRecord services:

2013-04-18 02:58:09,917 (2f78) : DEBUG (runtime:700) - Handling request GET /:/plugins/com.plexapp.plugins.movie/serviceSearch?identifier=com.plexapp.plugins.movie&name=MOVIE&query=pickers
2013-04-18 02:58:09,918 (2f78) : DEBUG (runtime:797) - Found route matching /:/plugins/com.plexapp.plugins.movie/serviceSearch
2013-04-18 02:58:09,920 (2f78) : DEBUG (services:41) - Loading service code for MOVIE (SearchServiceRecord)
2013-04-18 02:58:12,723 (2f78) : CRITICAL (core:561) - Exception (most recent call last):
File "C:\Users\Owner\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 823, in handle_request
result = f(**d)
File "C:\Users\Owner\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\handlers\services.py", line 68, in search
return self._core.services.search(query, identifier, name)
File "C:\Users\Owner\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\services.py", line 765, in search
if metadata.source_title == None:
File "C:\Users\Owner\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\objects.py", line 108, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DirectoryObject' object has no attribute 'source_title'


My Thoughts:

Not sure if DirectoryObject fully supported as a call within SearchServiceRecord or what. I am not setting the source_title attribute for DirectoryObject as you can see from above. I need to break down this way because of the way I am handling the next step. So I need to call DirectoryObject to break the site up into chunks because it references video sources from other sites. If I do not do it this way my Roku box will time out if I call over 4 websites at a time and parce for the video. Also, I can delete all the parameters in the DirectoryObject statment and still will give the same error.

Once I get this fixed my next question is. On the final step of the SearchServiceRecord service I call either EpisodeObject or MovieObject depending on if its a movie or a tv show. My question is, will SearchServiceRecord servcie use the URL service to genderate the playback of the MediaObject? I am using URL service to handle the metadata setup and then MediaObject.


Thank you for your thoughts and comments.....

I think search services can only return video objects.


As long as you set the URL attribute of a video a URL service will be used.

I think search services can only return video objects.

That is correct. For an example, have a look at the Search Service from The Daily Show: https://github.com/plexinc-plugins/The-Daily-Show.bundle/blob/master/Contents/Services/Search/The%20Daily%20Show/ServiceCode.pys

That is about what I thought… My search code is basically built just like your Daily Show search except I put one extra step in there using the DirectoryObject to break the search up into chunks because a show/movie search link could yield a ton of Hosting sites holding the video on the following web page. So I break the search up into chunks of 4 Hosting sites to DirectoryObject so when I get my results back example using my Roku box it will not time out trying to wait on receiving the video URLs I am parcing from each hosting site.


The websites search engine will return the Movie/TV Show title link for each instance that your query words match, then you select one of the links and the following page displays all the Hosting Links. Unless there is a way I can do this with out timing out “or show a pregress bar for loading the sites… Kidding…”. So any ideas???


Thanks again for your help!!!

I also think that video objects must bring you to videos, as in you cannot have a VideoClipObject that returns an ObjectContainer.

You would be better off defining a search function within the plugin. That way you can bypass the Search Service and return an ObjectContainer with multiple VideoClipObjects representing the offerings from the different content providers. I do something somewhat similar in the CouchPotato plugin since in that case, I'm not searching for actual watchable media.

The relevant sections of code are here and here.

Thanks for the heads up searching within the plugin instead of using a service.... But would have been nice if the SearchServiceRecord Services worked the same but good thing is no redundant code your way. Still learning the tricks to Plex Development. Actually, makes it easier now just drop in my code from SearchServiceRecord page.

Now from your idea on the search function this actually answered my last question from my first post of being able to use the URL service.

Another issue has cropped up since I upgraded my Plex Media server. My few plugins I have created that use the URL service now give me on the Roku:
 

Video Unavailable

We're unable to play this video, make sure the server is running and has access to this video.


Other Plex plugins work fine and even HGTV it uses URL service.

Log error:
2013-04-18 15:34:00,286 (33d4) : WARNING (objectkit:193) - Media part has no streams - attempting to synthesize
2013-04-18 15:34:00,289 (33d4) : DEBUG (runtime:897) - Response: [200] MediaContainer, 3177 bytes


Code:

Probably wondering why I have parts in a loop using the idea from other post to multipart video. So I append to the parts array the next video part if it has another part to the video stream.
 

parts = []
i = 0
while i < len(VideoStream_URL):
     parts.append(PartObject(key=Callback(PlayVideo, url=VideoStream_URL*)))
     if VideoStream_URL* == None:
          URL = "None"
     else:
          URL = VideoStream_URL*
     Log("Part"+str(i)+": "+URL)
     i += 1

video_frame_rate = “30”
protocols = None
container = None
bitrate = None
optimized_for_streaming = True
Log(parts)

obj = [MediaObject(
parts = parts,
video_frame_rate = video_frame_rate,
video_resolution = “480”,
video_codec = VideoCodec.H264,
audio_codec = AudioCodec.AAC,
protocols = protocols,container = container,
bitrate = bitrate,
audio_channels = 2,
optimized_for_streaming = optimized_for_streaming)]

def PlayVideo(url):
     #The source of the page actually contains a link to the associated mp4 file.
     return Redirect(url)
 

The error message that comes up on the Roku is of little value. There should be more information in the log files. I would start with the plugin log as well as the system and PMS logs.

Plex Media Server Log:
 

Apr 18, 2013 23:54:19:544 [6828] DEBUG - Request: GET /web/index.html 
[127.0.0.1:54091] (3 live)Apr 18, 2013 23:54:19:545 [6828] DEBUG - Final 
path: C:\Users\Owner\AppData\Local\Plex Media 
Server\Plug-ins\WebClient.bundle\Contents\Resources\index.htmlApr 18, 2013 
23:54:19:545 [6828] VERBOSE - [IDLE] Adding (0->1) work item http_download - 
/web/index.htmlApr 18, 2013 23:54:19:545 [6828] VERBOSE - [IDLE] Server is 
now activeApr 18, 2013 23:54:19:545 [6828] VERBOSE - [IDLE] * http_download 
- /web/index.html - 1 active item(s)Apr 18, 2013 23:54:19:545 [6828] DEBUG - 
Content-Length of C:\Users\Owner\AppData\Local\Plex Media 
Server\Plug-ins\WebClient.bundle\Contents\Resources\index.html is 3241.Apr 
18, 2013 23:54:19:547 [6828] VERBOSE - Completed request: GET /web/index.html: 
200Apr 18, 2013 23:54:20:325 [11880] DEBUG - Request: GET / 
[127.0.0.1:54092] (3 live)Apr 18, 2013 23:54:20:326 [11880] DEBUG - It took 
0.001000 sec to serialize a list with 9 elements.Apr 18, 2013 23:54:20:328 
[11880] VERBOSE - Completed request: GET /: 200Apr 18, 2013 23:54:20:337 
[6828] VERBOSE - [IDLE] Removing (1->0) work item http_download - 
/web/index.htmlApr 18, 2013 23:54:20:337 [6828] VERBOSE - [IDLE] Server is 
now idleApr 18, 2013 23:54:20:620 [6828] DEBUG - Request: GET 
/web/favicon.ico [127.0.0.1:54097] (3 live)Apr 18, 2013 23:54:20:620 [6828] 
DEBUG - Final path: C:\Users\Owner\AppData\Local\Plex Media 
Server\Plug-ins\WebClient.bundle\Contents\Resources\favicon.icoApr 18, 2013 
23:54:20:620 [6828] VERBOSE - [IDLE] Adding (0->1) work item http_download - 
/web/favicon.icoApr 18, 2013 23:54:20:620 [6828] VERBOSE - [IDLE] Server is 
now activeApr 18, 2013 23:54:20:620 [6828] VERBOSE - [IDLE] * http_download 
- /web/favicon.ico - 1 active item(s)Apr 18, 2013 23:54:20:620 [6828] DEBUG 
- Content-Length of C:\Users\Owner\AppData\Local\Plex Media 
Server\Plug-ins\WebClient.bundle\Contents\Resources\favicon.ico is 2334.Apr 
18, 2013 23:54:20:623 [6828] VERBOSE - Completed request: GET /web/favicon.ico: 
200Apr 18, 2013 23:54:20:805 [6828] VERBOSE - [IDLE] Removing (1->0) work 
item http_download - /web/favicon.icoApr 18, 2013 23:54:20:805 [6828] 
VERBOSE - [IDLE] Server is now idleApr 18, 2013 23:54:20:838 [11880] DEBUG - 
Request: GET /system/proxy [127.0.0.1:54098] (2 live)Apr 18, 2013 
23:54:20:838 [11880] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/proxyApr 18, 2013 23:54:20:839 [11880] DEBUG - HTTP 
requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:21:532 [11880] DEBUG - [com.plexapp.system] HTTP reply status 
200, with 473 bytes of content.Apr 18, 2013 23:54:21:537 [11880] VERBOSE - 
Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:22:775 [6828] 
DEBUG - Request: GET /system/proxy [127.0.0.1:54107] (3 live)Apr 18, 2013 
23:54:22:775 [6828] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/proxyApr 18, 2013 23:54:22:775 [6828] DEBUG - HTTP requesting 
to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:476 [6828] DEBUG - [com.plexapp.system] HTTP reply status 200, 
with 508 bytes of content.Apr 18, 2013 23:54:23:480 [6828] VERBOSE - 
Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:23:522 [11880] 
DEBUG - Request: GET /servers [127.0.0.1:54108] (3 live)Apr 18, 2013 
23:54:23:522 [11880] DEBUG - It took 0.000000 sec to serialize a list with 1 
elements.Apr 18, 2013 23:54:23:806 [11880] VERBOSE - Completed request: GET 
/servers: 200Apr 18, 2013 23:54:23:865 [11880] DEBUG - Request: GET /:/prefs 
[127.0.0.1:54112] (11 live)Apr 18, 2013 23:54:23:873 [11880] VERBOSE - 
Completed request: GET /:/prefs: 200Apr 18, 2013 23:54:23:890 [6828] DEBUG - 
Request: GET /system/proxy [127.0.0.1:54111] (11 live)Apr 18, 2013 
23:54:23:890 [6828] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/proxyApr 18, 2013 23:54:23:892 [6828] DEBUG - HTTP requesting 
to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:894 [7948] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54113] (11 live)Apr 18, 2013 23:54:23:894 [7948] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:23:895 [7948] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:900 [9152] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54115] (11 live)Apr 18, 2013 23:54:23:901 [9152] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:23:902 [9152] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:904 [12320] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54116] (11 live)Apr 18, 2013 23:54:23:915 [12320] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:23:916 [12320] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:986 [11880] DEBUG - Request: GET /library/onDeck 
[127.0.0.1:54118] (10 live)Apr 18, 2013 23:54:23:988 [7272] DEBUG - Request: 
GET /system/proxy [127.0.0.1:54114] (10 live)Apr 18, 2013 23:54:23:989 
[7272] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): 
/system/proxyApr 18, 2013 23:54:23:989 [7272] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:23:996 [11880] DEBUG - It took 0.000000 sec to serialize a list 
with 1 elements.Apr 18, 2013 23:54:24:001 [11880] VERBOSE - Completed 
request: GET /library/onDeck: 200Apr 18, 2013 23:54:24:051 [15408] DEBUG - 
Request: GET /system/appstore/history [127.0.0.1:54117] (9 live)Apr 18, 2013 
23:54:24:052 [15408] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/appstore/historyApr 18, 2013 23:54:24:058 [15408] DEBUG - 
HTTP requesting to: http://127.0.0.1:52758/system/appstore/historyApr 
18, 2013 23:54:24:137 [11880] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54120] (9 live)Apr 18, 2013 23:54:24:138 [11880] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:24:139 [11880] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:24:361 [3004] DEBUG - Request: GET /library/recentlyAdded 
[127.0.0.1:54119] (11 live)Apr 18, 2013 23:54:24:371 [12232] DEBUG - 
Request: GET /system/proxy [127.0.0.1:54133] (11 live)Apr 18, 2013 
23:54:24:372 [12232] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/proxyApr 18, 2013 23:54:24:372 [12232] DEBUG - HTTP 
requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:24:417 [13804] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54132] (11 live)Apr 18, 2013 23:54:24:417 [13804] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:24:417 [13804] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:24:496 [3004] DEBUG - It took 131.000000 ms to retrieve 49 
items.Apr 18, 2013 23:54:24:506 [3004] DEBUG - It took 0.008000 sec to 
serialize a list with 49 elements.Apr 18, 2013 23:54:24:521 [3004] VERBOSE - 
Completed request: GET /library/recentlyAdded: 200Apr 18, 2013 23:54:24:827 
[5912] DEBUG - Request: GET /system/proxy [127.0.0.1:54137] (11 live)Apr 18, 
2013 23:54:24:827 [5912] DEBUG - [com.plexapp.system] Sending command over HTTP 
(GET): /system/proxyApr 18, 2013 23:54:24:828 [5912] DEBUG - HTTP requesting 
to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:24:907 [6828] DEBUG - [com.plexapp.system] HTTP reply status 200, 
with 1222 bytes of content.Apr 18, 2013 23:54:24:912 [6828] VERBOSE - 
Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:25:024 [3004] 
DEBUG - Request: GET / [127.0.0.1:54144] (11 live)Apr 18, 2013 23:54:25:025 
[3004] DEBUG - It took 0.000000 sec to serialize a list with 9 elements.Apr 
18, 2013 23:54:25:029 [3004] VERBOSE - Completed request: GET /: 200Apr 18, 
2013 23:54:25:080 [6828] DEBUG - Request: GET /library/sections 
[127.0.0.1:54146] (11 live)Apr 18, 2013 23:54:25:082 [6828] DEBUG - It took 
0.001000 sec to serialize a list with 1 elements.Apr 18, 2013 23:54:25:083 
[6828] VERBOSE - Completed request: GET /library/sections: 200Apr 18, 2013 
23:54:25:133 [15408] DEBUG - [com.plexapp.system] HTTP reply status 200, with 
885 bytes of content.Apr 18, 2013 23:54:25:141 [15408] VERBOSE - Completed 
request: GET /system/appstore/history: 200Apr 18, 2013 23:54:25:207 [3004] 
DEBUG - Request: GET 
/channels/recentlyViewed?X-Plex-Container-Start=0&X-Plex-Container-Size=25 
[127.0.0.1:54147] (11 live)Apr 18, 2013 23:54:25:207 [3004] DEBUG -  * 
X-Plex-Container-Start => 0Apr 18, 2013 23:54:25:207 [3004] DEBUG -  
* X-Plex-Container-Size => 25Apr 18, 2013 23:54:25:211 [3004] DEBUG - 
Setting container serialization range to [0, 24] (total=-1)Apr 18, 2013 
23:54:25:212 [3004] DEBUG - It took 0.001000 sec to serialize a partial list 
with 25 elements (32 total).Apr 18, 2013 23:54:25:213 [3004] VERBOSE - 
Completed request: GET /channels/recentlyViewed: 200Apr 18, 2013 
23:54:25:344 [6828] DEBUG - Request: GET /system/proxy [127.0.0.1:54148] (12 
live)Apr 18, 2013 23:54:25:345 [6828] DEBUG - [com.plexapp.system] Sending 
command over HTTP (GET): /system/proxyApr 18, 2013 23:54:25:345 [6828] DEBUG 
- HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:25:475 [15408] DEBUG - Request: GET /system/proxy 
[127.0.0.1:54149] (11 live)Apr 18, 2013 23:54:25:478 [15408] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): /system/proxyApr 18, 
2013 23:54:25:479 [15408] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/proxyApr 
18, 2013 23:54:25:591 [9152] DEBUG - [com.plexapp.system] HTTP reply status 200, 
with 352 bytes of content.Apr 18, 2013 23:54:25:601 [9152] VERBOSE - 
Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:25:694 [7948] 
DEBUG - [com.plexapp.system] HTTP reply status 200, with 206 bytes of 
content.Apr 18, 2013 23:54:25:701 [7948] VERBOSE - Completed request: GET 
/system/proxy: 200Apr 18, 2013 23:54:25:737 [12320] DEBUG - 
[com.plexapp.system] HTTP reply status 200, with 4151 bytes of content.Apr 
18, 2013 23:54:25:742 [12320] VERBOSE - Completed request: GET /system/proxy: 
200Apr 18, 2013 23:54:25:820 [11880] DEBUG - [com.plexapp.system] HTTP reply 
status 200, with 206 bytes of content.Apr 18, 2013 23:54:25:828 [11880] 
VERBOSE - Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:25:917 
[5912] DEBUG - [com.plexapp.system] HTTP reply status 200, with 2754 bytes of 
content.Apr 18, 2013 23:54:25:919 [5912] VERBOSE - Completed request: GET 
/system/proxy: 200Apr 18, 2013 23:54:26:020 [7272] DEBUG - 
[com.plexapp.system] HTTP reply status 200, with 206 bytes of content.Apr 
18, 2013 23:54:26:024 [7272] VERBOSE - Completed request: GET /system/proxy: 
200Apr 18, 2013 23:54:26:079 [13804] DEBUG - [com.plexapp.system] HTTP reply 
status 200, with 6306 bytes of content.Apr 18, 2013 23:54:26:085 [13804] 
VERBOSE - Completed request: GET /system/proxy: 200Apr 18, 2013 23:54:26:092 
[15408] DEBUG - [com.plexapp.system] HTTP reply status 200, with 8437 bytes of 
content.Apr 18, 2013 23:54:26:097 [15408] VERBOSE - Completed request: GET 
/system/proxy: 200Apr 18, 2013 23:54:26:183 [12232] DEBUG - 
[com.plexapp.system] HTTP reply status 200, with 354 bytes of content.Apr 
18, 2013 23:54:26:192 [12232] VERBOSE - Completed request: GET /system/proxy: 
200Apr 18, 2013 23:54:26:267 [6828] DEBUG - [com.plexapp.system] HTTP reply 
status 200, with 234 bytes of content.Apr 18, 2013 23:54:26:272 [6828] 
VERBOSE - Completed request: GET /system/proxy: 200Apr 18, 2013 23:55:18:628 
[8488] DEBUG - NAT: Updating mapping in puncher thread 04CC67D8Apr 18, 2013 
23:55:18:628 [8488] DEBUG - NAT: Creating puncher.Apr 18, 2013 23:55:18:628 
[8488] DEBUG - NAT: Switching to NAT-PMP strategy.Apr 18, 2013 23:55:18:628 
[8488] DEBUG - NAT: Creating NATPmPPuncher.Apr 18, 2013 23:55:18:635 [8488] 
DEBUG - NAT: Initializing NAT-PMP, success=1Apr 18, 2013 23:55:18:636 [8488] 
DEBUG - NAT: Finding public address from NAT-PMP.Apr 18, 2013 23:55:18:886 
[8488] DEBUG - NAT: Finished NAT-PMP request, result was: 
NATPMP_ERR_RECVFROMApr 18, 2013 23:55:18:886 [8488] DEBUG - NAT: Found 
public address (success=0): 0.0.0.0Apr 18, 2013 23:55:18:886 [8488] DEBUG - 
NAT: Finding public address failed the first way, switching.Apr 18, 2013 
23:55:18:886 [8488] DEBUG - NAT: Switching to UPnP strategy.Apr 18, 2013 
23:55:18:886 [8488] DEBUG - NAT: Creating NATUPnPPuncher.Apr 18, 2013 
23:55:28:013 [8488] DEBUG - NAT: Initialized UPnP, result: Not an IGD 
deviceApr 18, 2013 23:55:28:014 [8488] DEBUG - HTTP requesting to: http://my.plexapp.com/pms/:/ipApr 
18, 2013 23:55:28:304 [8488] DEBUG - MyPlex: Got public IP from http://my.plexapp.com: 
75.108.165.50Apr 18, 2013 23:55:28:304 [8488] DEBUG - NAT: Obtained public 
address of 75.108.165.50 (failed: 0 myPlex: 1).Apr 18, 2013 23:55:28:304 
[8488] DEBUG - NAT: Checking for change in address: old was  and new is 
75.108.165.50.Apr 18, 2013 23:55:28:304 [8488] WARN - NAT: Not unmapping 
ports via UPnP, state=65537, controlURL=http://192.168.1.105:41952/, 
serviceType=Apr 18, 2013 23:55:28:304 [8488] DEBUG - NAT: Unmapping ports 
failed the first way, switching.Apr 18, 2013 23:55:28:304 [8488] DEBUG - 
NAT: Switching to NAT-PMP strategy.Apr 18, 2013 23:55:28:305 [8488] DEBUG - 
NAT: Unmapping port via NAT-PMPApr 18, 2013 23:55:28:555 [8488] DEBUG - NAT: 
Finished NAT-PMP request, result was: NATPMP_ERR_RECVFROMApr 18, 2013 
23:55:28:555 [8488] DEBUG - NAT: Unmapped port via NAT-PMP (success=0).Apr 
18, 2013 23:55:28:555 [8488] DEBUG - NAT: Mapping port via NAT-PMPApr 18, 
2013 23:55:28:805 [8488] DEBUG - NAT: Finished NAT-PMP request, result was: 
NATPMP_ERR_RECVFROMApr 18, 2013 23:55:28:805 [8488] DEBUG - NAT: Mapped 
ports (success=0) private: 0 public 0Apr 18, 2013 23:55:28:805 [8488] DEBUG 
- NAT: Mapping ports failed the first way, switching.Apr 18, 2013 
23:55:28:805 [8488] DEBUG - NAT: Switching to UPnP strategy.Apr 18, 2013 
23:55:28:805 [8488] WARN - NAT: Not mapping ports via UPnP, state=65537, 
controlURL=http://192.168.1.105:41952/, serviceType=Apr 18, 2013 
23:55:28:805 [8488] ERROR - NAT: Mapping failed (Not an IGD device)Apr 18, 
2013 23:55:28:805 [8488] DEBUG - NAT: Updating mapping complete in thread 
04CC67D8.Apr 18, 2013 23:55:28:805 [8488] DEBUG - NAT: Deleting 
puncher.Apr 18, 2013 23:55:28:805 [8488] DEBUG - NAT: Deleting 
NATUPnPPuncher.Apr 18, 2013 23:55:28:805 [8488] DEBUG - NAT: Deleting 
NATPmPPuncher.Apr 18, 2013 23:55:47:072 [3004] DEBUG - Request: GET 
/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20 
[192.168.1.129:40504] (2 live)Apr 18, 2013 23:55:47:072 [3004] DEBUG -  
* url => http://www.movie2k.to/12-01-watch-movie-1161119.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 01/18/2012  -- HOST: Putlocker -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Putlocker&season=0&index=0&type=Movies&content_rating=     
    Apr 18, 2013 23:55:47:073 [3004] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): 
/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:47:073 [3004] DEBUG - (Capabilties) Passing down capabilities of 
'protocols=http-live-streaming,http-mp4-streaming,http-mp4-video,http-mp4-video-720p,http-streaming-video,http-streaming-video-720p;videoDecoders=mpeg4,h264{profile:high&resolution:1080&level:40};audioDecoders=aac;videoPlayer={playsAnamorphic:no}' 
to plug-in.Apr 18, 2013 23:55:47:073 [3004] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:47:132 [3004] DEBUG - [com.plexapp.system] HTTP reply status 500, 
with 2964 bytes of content.Apr 18, 2013 23:55:47:150 [3004] VERBOSE - 
Completed request: GET 
/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20: 
500Apr 18, 2013 23:55:48:436 [9244] DEBUG - Request: HEAD 
/video/:/transcode/universal/start.m3u8?protocol=hls&path=http%3A%2F%2F127.0.0.1%3A32400%2Fsystem%2F%3A%2Fservices%2Furl%2Flookup%3Furl%3Dhttp%253A%2F%2Fwww.movie2k.to%2F12-01-watch-movie-1161119.html%253Ftitle%253D12%253A%252001%2526summary%253D%250A%2520%2520%2520%2520Barry%2520Thomas%2520is%2520the%2520average%2520office%2520worker.%2520He%2520becomes%2520attracted%2520to%2520Lisa%2520Fredericks%2520who%2520works%2520in%2520the%2520same%2520company...%2526show%253DDATE%2520ADDED%253A%252001%2F18%2F2012%2520%2520--%2520HOST%253A%2520Putlocker%2520--%2520QUALITY%253A%2520Movie%2520quality%2520DVDRip%2FBDRip%2520Dolby%2520Digital%2FDVDRip%2526date%253D1993-04-18%252000%253A00%253A00%2526thumb%253Dhttp%253A%2F%2Fimg.movie2k.to%2Fthumbs%2Fcover-1494511-12-01-movie2k-film.jpg%2526host%253DPutlocker%2526season%253D0%2526index%253D0%2526type%253DMovies%2526content_rating%253D%250A%2509%2520%2520%2520%2520%2509%2520%2520%2520%2520&session=K0A146005800&waitForSegments=1&offset=0&directPlay=0&directStream=1&videoQuality=75&videoResolution=1280x720&maxVideoBitrate=3000&subtitleSize=125&audioBoost=100&partIndex=0&X-Plex-Platform=Roku&X-Plex-Platform-Version=3.1&X-Plex-Version=2.6.4&X-Plex-Product=Plex%20for%20Roku&X-Plex-Device=Roku%20XD%7CS 
[192.168.1.129:40508] (2 live)Apr 18, 2013 23:55:48:437 [9244] DEBUG -  
* protocol => hlsApr 18, 2013 23:55:48:438 [9244] DEBUG -  * path 
=> http://127.0.0.1:32400/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:438 [9244] DEBUG -  * session => K0A146005800Apr 
18, 2013 23:55:48:438 [9244] DEBUG -  * waitForSegments => 1Apr 18, 
2013 23:55:48:438 [9244] DEBUG -  * offset => 0Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * directPlay => 0Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * directStream => 1Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * videoQuality => 75Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * videoResolution => 1280x720Apr 18, 
2013 23:55:48:438 [9244] DEBUG -  * maxVideoBitrate => 3000Apr 18, 
2013 23:55:48:438 [9244] DEBUG -  * subtitleSize => 125Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * audioBoost => 100Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * partIndex => 0Apr 18, 2013 
23:55:48:438 [9244] DEBUG -  * X-Plex-Platform => RokuApr 18, 2013 
23:55:48:439 [9244] DEBUG -  * X-Plex-Platform-Version => 3.1Apr 18, 
2013 23:55:48:439 [9244] DEBUG -  * X-Plex-Version => 2.6.4Apr 18, 
2013 23:55:48:439 [9244] DEBUG -  * X-Plex-Product => Plex for 
RokuApr 18, 2013 23:55:48:439 [9244] DEBUG -  * X-Plex-Device => 
Roku XD|SApr 18, 2013 23:55:48:443 [9244] DEBUG - Using profile Roku 
3.xApr 18, 2013 23:55:48:444 [9244] DEBUG - Downloading document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:444 [9244] DEBUG - Cache hit for document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:444 [9244] DEBUG - HTTP requesting to: http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:466 [3004] DEBUG - Request: GET 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20 
[127.0.0.1:54173] (3 live)Apr 18, 2013 23:55:48:466 [3004] DEBUG -  * 
url => http://www.movie2k.to/12-01-watch-movie-1161119.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 01/18/2012  -- HOST: Putlocker -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Putlocker&season=0&index=0&type=Movies&content_rating=     
    Apr 18, 2013 23:55:48:467 [3004] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:467 [3004] DEBUG - (Capabilties) Passing down capabilities of 
'protocols=http-streaming-video;videoDecoders=h264{profile:high&resolution:1080&level:41};audioDecoders=aac{bitrate:256&channels:2},ac3{channels:6}' 
to plug-in.Apr 18, 2013 23:55:48:467 [3004] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:513 [3004] DEBUG - [com.plexapp.system] HTTP reply status 500, 
with 2964 bytes of content.Apr 18, 2013 23:55:48:516 [3004] VERBOSE - 
Completed request: GET 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20: 
500Apr 18, 2013 23:55:48:516 [9244] DEBUG - Caching document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20 
as f29e132102ee68916962b5d07c9433de3335dfc1Apr 18, 2013 23:55:48:517 [9244] 
ERROR - PlexClient::downloadContainer: expected MediaContainer element, found 
ResponseApr 18, 2013 23:55:48:517 [9244] ERROR - [TranscodeUniversalRequest] 
Unable to get container: 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:519 [9244] VERBOSE - Completed request: HEAD 
/video/:/transcode/universal/start.m3u8?protocol=hls&path=http%3A%2F%2F127.0.0.1%3A32400%2Fsystem%2F%3A%2Fservices%2Furl%2Flookup%3Furl%3Dhttp%253A%2F%2Fwww.movie2k.to%2F12-01-watch-movie-1161119.html%253Ftitle%253D12%253A%252001%2526summary%253D%250A%2520%2520%2520%2520Barry%2520Thomas%2520is%2520the%2520average%2520office%2520worker.%2520He%2520becomes%2520attracted%2520to%2520Lisa%2520Fredericks%2520who%2520works%2520in%2520the%2520same%2520company...%2526show%253DDATE%2520ADDED%253A%252001%2F18%2F2012%2520%2520--%2520HOST%253A%2520Putlocker%2520--%2520QUALITY%253A%2520Movie%2520quality%2520DVDRip%2FBDRip%2520Dolby%2520Digital%2FDVDRip%2526date%253D1993-04-18%252000%253A00%253A00%2526thumb%253Dhttp%253A%2F%2Fimg.movie2k.to%2Fthumbs%2Fcover-1494511-12-01-movie2k-film.jpg%2526host%253DPutlocker%2526season%253D0%2526index%253D0%2526type%253DMovies%2526content_rating%253D%250A%2509%2520%2520%2520%2520%2509%2520%2520%2520%2520&session=K0A146005800&waitForSegments=1&offset=0&directPlay=0&directStream=1&videoQuality=75&videoResolution=1280x720&maxVideoBitrate=3000&subtitleSize=125&audioBoost=100&partIndex=0: 
400Apr 18, 2013 23:55:48:560 [15008] DEBUG - [roku] Starting to play 
transcoded videoApr 18, 2013 23:55:48:824 [3004] DEBUG - Request: GET 
/video/:/transcode/universal/start.m3u8?protocol=hls&path=http%3A%2F%2F127.0.0.1%3A32400%2Fsystem%2F%3A%2Fservices%2Furl%2Flookup%3Furl%3Dhttp%253A%2F%2Fwww.movie2k.to%2F12-01-watch-movie-1161119.html%253Ftitle%253D12%253A%252001%2526summary%253D%250A%2520%2520%2520%2520Barry%2520Thomas%2520is%2520the%2520average%2520office%2520worker.%2520He%2520becomes%2520attracted%2520to%2520Lisa%2520Fredericks%2520who%2520works%2520in%2520the%2520same%2520company...%2526show%253DDATE%2520ADDED%253A%252001%2F18%2F2012%2520%2520--%2520HOST%253A%2520Putlocker%2520--%2520QUALITY%253A%2520Movie%2520quality%2520DVDRip%2FBDRip%2520Dolby%2520Digital%2FDVDRip%2526date%253D1993-04-18%252000%253A00%253A00%2526thumb%253Dhttp%253A%2F%2Fimg.movie2k.to%2Fthumbs%2Fcover-1494511-12-01-movie2k-film.jpg%2526host%253DPutlocker%2526season%253D0%2526index%253D0%2526type%253DMovies%2526content_rating%253D%250A%2509%2520%2520%2520%2520%2509%2520%2520%2520%2520&session=K0A146005800&waitForSegments=1&offset=0&directPlay=0&directStream=1&videoQuality=75&videoResolution=1280x720&maxVideoBitrate=3000&subtitleSize=125&audioBoost=100&partIndex=0&X-Plex-Platform=Roku&X-Plex-Platform-Version=3.1&X-Plex-Version=2.6.4&X-Plex-Product=Plex%20for%20Roku&X-Plex-Device=Roku%20XD%7CS 
[192.168.1.129:40510] (3 live)Apr 18, 2013 23:55:48:824 [3004] DEBUG -  
* protocol => hlsApr 18, 2013 23:55:48:825 [3004] DEBUG -  * path 
=> http://127.0.0.1:32400/system/:/services/url/lookup?url=http%3A//www.movie2k.to/12-01-watch-movie-1161119.html%3Ftitle%3D12%3A%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker.%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company...%26show%3DDATE%20ADDED%3A%2001/18/2012%20%20--%20HOST%3A%20Putlocker%20--%20QUALITY%3A%20Movie%20quality%20DVDRip/BDRip%20Dolby%20Digital/DVDRip%26date%3D1993-04-18%2000%3A00%3A00%26thumb%3Dhttp%3A//img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:825 [3004] DEBUG -  * session => K0A146005800Apr 
18, 2013 23:55:48:825 [3004] DEBUG -  * waitForSegments => 1Apr 18, 
2013 23:55:48:825 [3004] DEBUG -  * offset => 0Apr 18, 2013 
23:55:48:825 [3004] DEBUG -  * directPlay => 0Apr 18, 2013 
23:55:48:825 [3004] DEBUG -  * directStream => 1Apr 18, 2013 
23:55:48:825 [3004] DEBUG -  * videoQuality => 75Apr 18, 2013 
23:55:48:826 [3004] DEBUG -  * videoResolution => 1280x720Apr 18, 
2013 23:55:48:826 [3004] DEBUG -  * maxVideoBitrate => 3000Apr 18, 
2013 23:55:48:826 [3004] DEBUG -  * subtitleSize => 125Apr 18, 2013 
23:55:48:826 [3004] DEBUG -  * audioBoost => 100Apr 18, 2013 
23:55:48:826 [3004] DEBUG -  * partIndex => 0Apr 18, 2013 
23:55:48:827 [3004] DEBUG -  * X-Plex-Platform => RokuApr 18, 2013 
23:55:48:827 [3004] DEBUG -  * X-Plex-Platform-Version => 3.1Apr 18, 
2013 23:55:48:827 [3004] DEBUG -  * X-Plex-Version => 2.6.4Apr 18, 
2013 23:55:48:827 [3004] DEBUG -  * X-Plex-Product => Plex for 
RokuApr 18, 2013 23:55:48:827 [3004] DEBUG -  * X-Plex-Device => 
Roku XD|SApr 18, 2013 23:55:48:831 [3004] DEBUG - Using profile Roku 
3.xApr 18, 2013 23:55:48:831 [3004] DEBUG - Downloading document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:832 [3004] DEBUG - Cache hit for document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:832 [3004] DEBUG - HTTP requesting to: http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:852 [9244] DEBUG - Request: GET 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20 
[127.0.0.1:54176] (3 live)Apr 18, 2013 23:55:48:854 [9244] DEBUG -  * 
url => http://www.movie2k.to/12-01-watch-movie-1161119.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 01/18/2012  -- HOST: Putlocker -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Putlocker&season=0&index=0&type=Movies&content_rating=     
    Apr 18, 2013 23:55:48:855 [9244] DEBUG - 
[com.plexapp.system] Sending command over HTTP (GET): 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:855 [9244] DEBUG - (Capabilties) Passing down capabilities of 
'protocols=http-streaming-video;videoDecoders=h264{profile:high&resolution:1080&level:41};audioDecoders=aac{bitrate:256&channels:2},ac3{channels:6}' 
to plug-in.Apr 18, 2013 23:55:48:856 [9244] DEBUG - HTTP requesting to: http://127.0.0.1:52758/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:901 [9244] DEBUG - [com.plexapp.system] HTTP reply status 500, 
with 2964 bytes of content.Apr 18, 2013 23:55:48:909 [9244] VERBOSE - 
Completed request: GET 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20: 
500Apr 18, 2013 23:55:48:910 [3004] DEBUG - Caching document http://127.0.0.1:32400/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20 
as f29e132102ee68916962b5d07c9433de3335dfc1Apr 18, 2013 23:55:48:910 [3004] 
ERROR - PlexClient::downloadContainer: expected MediaContainer element, found 
ResponseApr 18, 2013 23:55:48:910 [3004] ERROR - [TranscodeUniversalRequest] 
Unable to get container: 
/system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Apr 
18, 2013 23:55:48:913 [3004] VERBOSE - Completed request: GET 
/video/:/transcode/universal/start.m3u8?protocol=hls&path=http%3A%2F%2F127.0.0.1%3A32400%2Fsystem%2F%3A%2Fservices%2Furl%2Flookup%3Furl%3Dhttp%253A%2F%2Fwww.movie2k.to%2F12-01-watch-movie-1161119.html%253Ftitle%253D12%253A%252001%2526summary%253D%250A%2520%2520%2520%2520Barry%2520Thomas%2520is%2520the%2520average%2520office%2520worker.%2520He%2520becomes%2520attracted%2520to%2520Lisa%2520Fredericks%2520who%2520works%2520in%2520the%2520same%2520company...%2526show%253DDATE%2520ADDED%253A%252001%2F18%2F2012%2520%2520--%2520HOST%253A%2520Putlocker%2520--%2520QUALITY%253A%2520Movie%2520quality%2520DVDRip%2FBDRip%2520Dolby%2520Digital%2FDVDRip%2526date%253D1993-04-18%252000%253A00%253A00%2526thumb%253Dhttp%253A%2F%2Fimg.movie2k.to%2Fthumbs%2Fcover-1494511-12-01-movie2k-film.jpg%2526host%253DPutlocker%2526season%253D0%2526index%253D0%2526type%253DMovies%2526content_rating%253D%250A%2509%2520%2520%2520%2520%2509%2520%2520%2520%2520&session=K0A146005800&waitForSegments=1&offset=0&directPlay=0&directStream=1&videoQuality=75&videoResolution=1280x720&maxVideoBitrate=3000&subtitleSize=125&audioBoost=100&partIndex=0: 
400
 

Plugin Log 

2013-04-18 23:39:27,911 (3e98) :  DEBUG (services:615) - Found a service 
matching 'http://www.movie2k.to/12-01-watch-movie-2532745.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 02/13/2013  -- HOST: Stageflv -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Stageflv&season=0&index=0&type=Movies&content_rating=     
     ' - MOVIE2K (com.plexapp.plugins.movie2k)2013-04-18 
23:39:27,915 (3e98) :  DEBUG (services:615) - Found a service matching 
'http://www.movie2k.to/12-01-watch-movie-2532745.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 02/13/2013  -- HOST: Stageflv -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Stageflv&season=0&index=0&type=Movies&content_rating=     
     ' - MOVIE2K (com.plexapp.plugins.movie2k)2013-04-18 
23:39:27,917 (3e98) :  DEBUG (services:615) - Found a service matching 
'http://www.movie2k.to/12-01-watch-movie-2532745.html?title=12: 
01&summary=    Barry Thomas is the average office worker. 
He becomes attracted to Lisa Fredericks who works in the same 
company...&show=DATE ADDED: 02/13/2013  -- HOST: Stageflv -- QUALITY: 
Movie quality DVDRip/BDRip Dolby Digital/DVDRip&date=1993-04-18 
00:00:00&thumb=http://img.movie2k.to/thumbs/cover-1494511-12-01-movie2k-film.jpg&host=Stageflv&season=0&index=0&type=Movies&content_rating=     
     ' - MOVIE2K (com.plexapp.plugins.movie2k)2013-04-18 
23:39:27,920 (3e98) :  DEBUG (networking:172) - Requesting 
'http://www.movie2k.to/12-01-watch-movie-2532745.html'2013-04-18 
23:39:29,198 (3e98) :  INFO (logkit:16) - No MultiPart videos on 
Page2013-04-18 23:39:29,200 (3e98) :  DEBUG (networking:172) - 
Requesting 'http://www.movie2k.to/12-01-watch-movie-2532745.html'2013-04-18 
23:39:30,273 (3e98) :  DEBUG (networking:172) - Requesting 
'http://www.stageflv.com/3dq1cz0cz09v/12-01.flv.html'2013-04-18 23:39:31,582 
(3e98) :  DEBUG (runtime:897) - Response: [200] MediaContainer, 12350 
bytes2013-04-18 23:39:42,779 (24e4) :  DEBUG (runtime:700) - Handling 
request GET /video/movie2k2013-04-18 23:39:42,779 (24e4) :  DEBUG 
(runtime:797) - Found route matching /video/movie2k2013-04-18 23:39:42,780 
(24e4) :  DEBUG (context:198) - Checking for Real RTMP support...  
Enabled:True  Platform:Internet Explorer  Product:Web Client  
Client:1.0.2  Server:0.9.7.22-4b5280f2013-04-18 23:39:42,785 (24e4) 
:  DEBUG (base:123) - Checking if com.plexapp.plugins.movie2k is 
broken2013-04-18 23:39:42,786 (24e4) :  DEBUG (networking:172) - 
Requesting 
'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjcKY29tLnBsZXhhcHAucGx1Z2lucy5tb3ZpZTJrczEwCmlkZW50aWZpZXJyMAo_'2013-04-18 
23:39:43,292 (24e4) :  DEBUG (runtime:897) - Response: [200] 
MediaContainer, 1697 bytes2013-04-18 23:45:22,118 (4088) :  DEBUG 
(runtime:700) - Handling request GET /video/movie2k2013-04-18 23:45:22,118 
(4088) :  DEBUG (runtime:797) - Found route matching 
/video/movie2k2013-04-18 23:45:22,119 (4088) :  DEBUG (context:198) - 
Checking for Real RTMP support...  Enabled:True  
Platform:Firefox  Product:Web Client  Client:1.0.2  
Server:0.9.7.22-4b5280f2013-04-18 23:45:22,131 (4088) :  DEBUG 
(base:123) - Checking if com.plexapp.plugins.movie2k is broken2013-04-18 
23:45:22,132 (4088) :  DEBUG (networking:172) - Requesting 
'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjcKY29tLnBsZXhhcHAucGx1Z2lucy5tb3ZpZTJrczEwCmlkZW50aWZpZXJyMAo_'2013-04-18 
23:45:22,417 (4088) :  DEBUG (runtime:897) - Response: [200] 
MediaContainer, 1697 bytes
 


I was testing this under version 0.9.7.12 of the Plex Media Server then upgraded yesturday to 09.7.22 and now I get an error on both my Roku box and within Web Browser Based Channel.  The web browser will error now right when you try to get to the screen where you click to Play the video.  And the Roku will bring the click to play screen up  and when you click the Direct Stream/Transcode it tries to bring up the transcoder and prompts Video Unavailable error....  The transcoder never pops up...  Like I said HGTV uses the URL service and it works just fine on my setup.  I do have Debugging on verbose and debugging enabled in the PlexPluginDevMode to 1.

I also reset the server before doing these tests.

By the way thanks agian Search is working perfectly NOW!!!  Well, as good as the sites search engine...  I might figure out a usage for the SearchServiceRecord Services later with in the plugin...

I hope you can make heads or tails why it is erroring...




 

If it was working ok with PMS v0.9.7.12 and broke with the upgrade to .22, I would suggest rolling back to the .12 release to verify if it still works. It sounds to me like it might be tripping on a transcoder bug that crept in to the .22 release. Another test is to follow the XML keys manually via a browser or curl command to see if the video key URL actually returns a video file when requested.

I rolled back to PMS v0.9.7.12 and it is working again!!!  After pouring over the Logs I posted for you last night I did notice two errors from PMS v0.9.7.22 Server Logs:

Apr 18, 2013 23:55:48:517 [9244] ERROR - PlexClient::downloadContainer: expected MediaContainer element, found Response
Apr 18, 2013 23:55:48:910 [3004] ERROR - [TranscodeUniversalRequest] Unable to get container: /system/:/services/url/lookup?url=http:%2F%2Fwww%2Emovie2k%2Eto%2F12-01-watch-movie-1161119%2Ehtml%3Ftitle%3D12:%2001%26summary%3D%0A%20%20%20%20Barry%20Thomas%20is%20the%20average%20office%20worker%2E%20He%20becomes%20attracted%20to%20Lisa%20Fredericks%20who%20works%20in%20the%20same%20company%2E%2E%2E%26show%3DDATE%20ADDED:%2001%2F18%2F2012%20%20--%20HOST:%20Putlocker%20--%20QUALITY:%20Movie%20quality%20DVDRip%2FBDRip%20Dolby%20Digital%2FDVDRip%26date%3D1993-04-18%2000:00:00%26thumb%3Dhttp:%2F%2Fimg%2Emovie2k%2Eto%2Fthumbs%2Fcover-1494511-12-01-movie2k-film%2Ejpg%26host%3DPutlocker%26season%3D0%26index%3D0%26type%3DMovies%26content_rating%3D%0A%09%20%20%20%20%09%20%20%20%20Ap

Is the newest version of Plex Media Server v0.9.7.22 looking for something new or updated in the Info.plist or ServiceInfo.plist maybe?

I forgot to test the XML keys manually via a browser for you before I downgraded.  To test the XML keys via curl statment where do you put your curl statments and do you have an example?

Thanks for your help again!!!

I use the Terminal on OSX with curl like this:


curl ‘http;//<PMS_IP>:32400<value_of_key>’

There are lots of flags that can be used to modify the command. Sending specific headers, verbose logging, etc.

I’m not sure if curl is available on Windows by default but, I would think the Windows Command Prompt would be the place to try it.


Another test worth running would be to upgrade to .22 again and disable the Universal Transcoder in the client settings. Then see if playback works.

OK!!! I upgraded back to Plex Media Server v09.7.22 and Disabled Expermental Transcoder in the Roku Plex Channel settings… And it is now playing once again. So now to figure out why it’s not working with the Expermental Transcoder when other plugins do… I will do some research on the XML keys to see what’s going on there when Expermental Transcoder is enabled and report back to you on it.



Another thing I have an “error video” that plays instead of the TV Show or Movie if video not found whatever error there is for the stream not loading. It’s little over 1 min but it now will not play now with the regular transcoder… You will see the progress bar on the Roku and once the transcoder is done transcoding the video it’s so small exits and then I get the error Video Unavailable… This worked on v09.7.12 because the Roku would not error when the transcoder exited but would play the cached video.



I have another question. I have set up a DefaultPrefs.json under the Contents folder so I can set preferences in the plugin via the PrefsObject. How do I access those preferences settings from the URL services?


Example:


videoerror = Prefs[“videoerror”]


But I get an error in the logs stating: KeyError: “No preference named ‘videoerror’ found.”



Thanks for the help once again!!!

If it’s possible to determine the container and codec information of the video files before the play request is made, the clients will have the opportunity to attempt direct play for supported media types. When no container/codec metadata is provided, then the default behaviour for most clients is to request a transcoded stream. Obviously, it’s better to avoid unnecessary transcoding so, including as much video format metadata as possible is a good thing.

I’m not exactly sure how you fall back to your error video the fact that it’s short should not affect whether or not it plays.

That being said, if there are videos that play ok using the old transcoder and fail with the new one, it’s worth posting some info about them. Since the new Universal Transcoder is still in active development, your video info may help identify and squash bugs.

Using prefs from within an URLService requires that the prefs file be saved as “ServicePrefs.json” within the Services folder inside the plugin bundle. The prefs should then be accessible to both the plugin and the service. I can’t think of any examples where this is currently implemented but it should work.

The videos are basicaly FLV files coming from different Hosting Websites suchs as FlashX, Putlocker, VideoWeed, ect… The Video Error file I am snagging from Pond5 stock videos.  The videoerror = Prefs[“videoerror”] is used if the user wants to turn on off the error video play and if off set to None.


Link to video: http://d3macfshcnzosd.cloudfront.net/010871413_main_l.mp4


To create the “ServicePrefs.json” do I just duplicate my “DefaultPrefs.json” I have more than videoerror variable I want to use in URL services.


If you are familiar how HGTV plugin designed their URL service this is how I based mine. The metadata section info is being passed from the url and split up data from the url I pass in to the MovieObject or EpisodeObject depending on TV Show or Movie. When you go to play the video it uses the MediaObject… On the Expermental Transcoder what metadata does it need to transcode the video? My MediaObject code:



obj = [MediaObject(

parts = parts,

video_frame_rate = video_frame_rate,

video_resolution = “480”,

video_codec = VideoCodec.H264,

audio_codec = AudioCodec.AAC,

protocols = protocols,

container = container,

bitrate = bitrate,

audio_channels = 2,

optimized_for_streaming = optimized_for_streaming)]

Usually, the video_codec and audio_codec, as well as container, are the most important in terms of helping the client decide whether the file needs to be transcoded. I would suggest double-checking the codec details for a few of those FLV files to confirm the right codecs. I like to stream the file using VLC and pull up the info screen to check which codecs are used in the file.

IIRC, you should just be able to move and rename the DefaultPrefs.json to ServicePrefs.json and it should allow you to access all your pref settings from both the channel and service code.

I'm pretty sure that the 0.9.7.22 PMS release has a bug in regards to transcoding some FLV files with the new transcoder. I believe that it is being worked on but, until the fix is released, the only work-around will be to disable the Universal Transcoder for affected clients (or downgrade PMS to an earlier version).

I copied the  DefaultPrefs.json to ServicePrefs.json and it worked perfectly.

Far as the FLV formats they are usually Video: H264-MPEG-4 AVC and Audio: MPEG ACC but some Video: FLV and audio MPEG AUDIO layer 1/2/3 and maybe video On2 VP6.2

Sizes for a movie can be all over the board: 892x368, 720x298, 640x272, ect...

Frame rates can stay the same: 29.97 but some 25, some 24

FLV did not show the bitrate.

I had another question when doing an xpath and you want to get text after a or
but it returns nothing.

 

Glad to hear the Prefs worked out.

If your not generally able to determine ahead of time whether a video will be in MP4 or FLV format, you can flag the MediaObjectsForURL() function so that it doesn't generate the list of available media until a play request is made. At that point it would make the necessary requests and return a list of MediaObjects with accurate container/codec information. That would look something like this:

@deferred
def MediaObjectsForURL(url):
    #
    #execute whatever code necessary to grab the media file url
    #
    if video_url.endswith('.mp4'):
        #mp4 files generally use h264 and aac codecs
        return [MediaObject(
            parts = [PartObject(key=video_url)],
            container = 'mp4',
            video_codec = 'h264',
            audio_codec = 'AAC')]
    elif video_url.endswith('.flv'):
        #most flv files use VP6 and MP3 codecs
        return [MediaObject(
            parts = [PartObject(key=video_url)],
            container = 'flv',
            video_codec = 'VP6',
            audio_codec = 'MP3')]
    else: 
        #it could be something else entirely so, if we don't include any 
        #container/codec details, then the client will automatically request
        #a transcode of whatever it is.
        return [MediaObject(
            parts = [PartObject(key=video_url)]
            )]

In regards to the xpath question, there's some good discussion in this thread.

Ok added the endswith if statement to the code...  But one problem with some of these sites they may say FLV, MP4 or AVI for the extension but may actually be encoded H264/AAC.  The other video codec they use is just FLV1.   After adding this I swtiched the transcoder on the Roku back to Expermental Transcoder and still giving the error. 

I noticed you didn't use the callback function on the key=video_url  where I created a function and passed it to return Redirect(URL).  I tried it your way and the old transcoder popped up and played it both ways with the standard transcoder. 

So back to the Expermental Transcoder not sure how to fix these errors:
ERROR - PlexClient::downloadContainer: expected MediaContainer element, found Response
ERROR - [TranscodeUniversalRequest] Unable to get container: /system/:/services/url/lookup?url=
 

The callback isn't always necessary. Generally speaking, the callback is used to avoid doing any http requests inside the MediaObjectsForURL function since that would make it slower. In this case, since you're using the @deferred decorator, the function isn't executed until a play request is made, so making the http requests inside the MediaObjectsForURL function doesn't make a difference. You could use a callback but the code is tidier without.

For the codec details, you're obviously best to put in whatever is being used. If you exclude the codecs altogether, then all videos should be transcoded and that should work just fine.

Can you zip up a complete (fresh) PMS log with an attempt to play using the Universal Transcoder, then attach it here. Or PM me a dropbox link for it or something. I'm hoping there's some more detail in there that will point to the problem.