Well that worked. Thanks.
Of course now it is difficult to play albums. :( Anyone know if there is a fix coming, or another fix that works for the video that won't effect the music playback?
I’m not even sure what’s causing it yet
Not much help over at XBMC, so i’ll have to do some digging on my own. I’ll have a go tonight and see if I can track it down…
The auto-play-next issue only happens, when you use "http" as a playback method (or "auto" falls back to http). So you could try to change this in the plexbmc settings to smb. Please make sure that you use the latest plexbmc, though. Since it looks like smb is/was failing on your setup, switch on the debug output in the settings as well and paste any errors in here.
Looks like I’ve found the problem - defining the plugin as “audio” means that it picks up the next play - but does so for all items (inc video). If I remove teh audio definition, then next play stops working. Great for vids not good for music…
However I can’t get next play to work without this definition.
I think I can workaround it by creating a playlist of tracks…
Just grabbed the latest version, 1.9e, and I’m having streaming problems. I’m failing on video start up half the time I try to watch something (actually more like 95% of the time). Here’s the log entries:
17:37:19 T:15756 M:1786413056 NOTICE: ==== PROXY: 55250: Opening playlist URL http://m8.mine.nu:32400/video/:/transcode/segmented/session/550155ef-a32b-4cba-94d2-7bd064353ea3/7/00000.ts
17:37:50 T:16708 M:1777938432 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
17:37:50 T:16708 M:1777938432 ERROR: CFileCurl::CReadState::Open, didn’t get any data from stream.
17:37:50 T:16708 M:1777938432 ERROR: XFILE::CFileCache::Open - failed to open source http://127.0.0.1:8087/withheaders/aHR0cDovL204Lm1pbmUubnU6MzI0MDAvdmlkZW8vOi90cmFuc2NvZGUvc2VnbWVudGVkL3Nlc3Npb24vNTUwMTU1ZWYtYTMyYi00Y2JhLTk0ZDItN2JkMDY0MzUzZWEzLzcvaW5kZXgubTN1OA==/fFgtUGxleC1Vc2VyPVRyZXZvciZYLVBsZXgtUGFzcz05NWU0YjM4NmExZjFmZTI0MjNhNjA3MTIzZWU0MGMxN2YwOGRjMzMw
17:37:50 T:16708 M:1777958912 ERROR: CDVDPlayer::OpenInputStream - error opening [127.0.0.1:8087/withheaders/aHR0cDovL204Lm1pbmUubnU6MzI0MDAvdmlkZW8vOi90cmFuc2NvZGUvc2VnbWVudGVkL3Nlc3Npb24vNTUwMTU1ZWYtYTMyYi00Y2JhLTk0ZDItN2JkMDY0MzUzZWEzLzcvaW5kZXgubTN1OA==/fFgtUGxleC1Vc2VyPVRyZXZvciZYLVBsZXgtUGFzcz05NWU0YjM4NmExZjFmZTI0MjNhNjA3MTIzZWU0MGMxN2YwOGRjMzMw]
17:37:50 T:16708 M:1777958912 NOTICE: CDVDPlayer::OnExit()
17:37:50 T:16708 M:1777958912 NOTICE: CDVDPlayer::OnExit() deleting input stream
17:37:50 T:13992 M:1777922048 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.plexbmc/?url=http://m8.mine.nu:32400/library/metadata/9645&mode=5&id=9645]
17:37:50 T:13992 M:1777913856 NOTICE: CDVDPlayer::CloseFile()
17:37:50 T:13992 M:1777913856 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:37:50 T:13992 M:1777913856 NOTICE: DVDPlayer: waiting for threads to exit
17:37:50 T:13992 M:1777913856 NOTICE: DVDPlayer: finished waiting
17:37:50 T:16332 M:1779007488 ERROR: Error Type: exceptions.ValueError
17:37:50 T:16332 M:1779007488 ERROR: Error Contents: invalid literal for int(): Error
17:37:50 T:16332 M:1779007488 ERROR: Traceback (most recent call last):
File “C:\Users revora\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py”, line 3023, in ?
PLAYEPISODE(id,url)
File “C:\Users revora\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py”, line 1424, in PLAYEPISODE
monitorPlayback(id,server)
File “C:\Users revora\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py”, line 1667, in monitorPlayback
progress = int(remove_html_tags(xbmc.executehttpapi(“GetPercentage”)))
ValueError: invalid literal for int(): Error
17:37:50 T:15756 M:1779064832 NOTICE: ==== PROXY: 55250: Client Closed the connection at Tue Jun 07 17:37:50 2011
17:37:50 T:15756 M:1779064832 NOTICE: ----------------------------------------
17:37:50 T:15756 M:1779064832 NOTICE: Exception happened during processing of request from
17:37:50 T:15756 M:1779064832 NOTICE: (‘127.0.0.1’, 55250)
17:37:50 T:15756 M:1779064832 NOTICE: Traceback (most recent call last):
17:37:50 T:15756 M:1779064832 NOTICE: File “special://xbmc/system/python/Lib\SocketServer.py”, line 463, in process_request_thread
17:37:50 T:15756 M:1779077120 NOTICE: self.finish_request(request, client_address)
17:37:50 T:15756 M:1779044352 NOTICE: File “special://xbmc/system/python/Lib\SocketServer.py”, line 254, in finish_request
17:37:50 T:15756 M:1779052544 NOTICE: self.RequestHandlerClass(request, client_address, self)
17:37:50 T:15756 M:1779052544 NOTICE: File “special://xbmc/system/python/Lib\SocketServer.py”, line 521, in init
17:37:50 T:15756 M:1779052544 NOTICE: self.handle()
17:37:50 T:15756 M:1779052544 NOTICE: File “special://xbmc/system/python/Lib\BaseHTTPServer.py”, line 318, in handle
17:37:50 T:15756 M:1779027968 NOTICE: self.handle_one_request()
17:37:50 T:15756 M:1779027968 NOTICE: File “special://xbmc/system/python/Lib\BaseHTTPServer.py”, line 299, in handle_one_request
17:37:50 T:15756 M:1779027968 NOTICE: self.raw_requestline = self.rfile.readline()
17:37:50 T:15756 M:1779027968 NOTICE: File “special://xbmc/system/python/Lib\socket.py”, line 332, in readline
17:37:50 T:15756 M:1779011584 NOTICE: data = self._sock.recv(self._rbufsize)
17:37:50 T:15756 M:1779011584 NOTICE: error: (10053, ‘Software caused connection abort’)
17:37:50 T:15756 M:1779011584 NOTICE: ----------------------------------------
When I switch to smb there is no change. I checked and I'm using ver. 1.9e. I believe that is the latest version thanks to the awesome autoupdate. Thanks for that feature :). I have also switched on the debug output in PleXBMC's settings, but I don't know how to find and copy this output. How do I find the debug output?
Looks like transcoding is broken again - not sure why as I've not updated that code. It seems to work ok in a pre-EDEN build, but not 10.1. I moved back to an earlier release (1.7.7 as I had that to hand), and it works - so i must have upset something. I'll take a look.
In the meanwhile, if you need transcoding, just move back to a working previous version (delete the old plugin and install 1.8.x).
btw what platform do you run the client on?
Yeah, I thought that might happen :) Depending on the OS you run XBMC from, the "xbmc.log" is in different places :) In windows it is inside this folder
%APPDATA%\XBMC\
just paste that path in to the address bar. It will get you to the right place. If you are on another OS just search for the file.
BTW: @hippojay: maybe you could put detailed information on where to find the xbmc.log file on different OSs in the second post?!
Windows 7
Are you using a nightly build or just 10.1
10.1
First off I can’t say thanks enough this is just the app I was looking for. On the other hand I appear to have a little problem with the app. When I try to connect I have entered my ip address for the computer I want to connect to and when I go to the computer that’s trying to connect it says that my iMac has refused the connection “10061”. Thanks for any help you can provide.
10061is a connection refused, so it’s one of two reasons:
- Incorrect port number being used. Unless you’ve changed anything plex should be on 32400
- Firewall is stopping the connection. If you look on the server (which I guess is the iMac) and look at the firewall logs (in the console.app - called ipfw.log I think) you should see any messages that indicate a refused connection on 32400. It might be that you have to add/allow the plex media server to accept incoming connections in the firewall.
The question of whether to allow incoming connections is usually asked the first time you run an application on OSX, so perhaps this was missed or declined in error.
HTH
Ok, found the XBMC.log file, but it is a crazy long list. Looks like there is a list of errors, one for each music file I have. Don't know what that is about. Any how, what should I paste in, or should I attach the file? If I paste the entire thing in it might take up a few pages of this forum.
Hmm, think this works well enough to use it on a simple atom 525 htpc versus just buying a Roku?
Without question. This is much higher quality, even with it's rough edges. I just returned my Roku, as much as I wanted it to work, because that client has some significant work to do...
My main client is an acer revo 3600 running snow leopard, which has an Atom N230 (dual core @ 1.6) with ION chipset. Runs video perfectly and the CPU can drive XBMC acceptably (my main movie list is 800 items long, and plexbmc takes probably 2seconds to process). For comparison this is probably the same length of time the plex client takes to do the same thing.
Looking at benchmarks, the d525 is roughly twice as fast (cpubenchmark.net gave it 713 compared to 315 for the N230) - so should run XBMC fine.
Can't comment on whether it's better than a roku though.
You can use sites like paste bin to host log files, better than a cut and paste here. Also, the only bit I need between the plexbmc start and stop entries. Either than, or host it on some space like dropbox and post a public link to it.
Is this for the auto play next problem? If so then I don't need a log file right now - I understand whats making it happen and trying to workaround it.
You now what, I just realized, that something changed in the recent builds and the auto play next is now also happening with an smb-connection. Weired.
OK - Heres whats been going on…
I have managed to fix this (Auto play issue) in the code, by using a more direct way of telling XBMC to play a file. Just testing now to make sure that it hasn’t broken anything else…
The next build I do put out, may be as a “beta”/test build - as i’ve made some BIG changes by adding in Bonjour, so that ytou can run the plugin without specifying media servers. However, bonjour won’t work on XBMC 10.1, so i’ve had to put in some workarounds.
Also, I’m still having trouble tracking down the transcoding issue on XBMC 10.1. For some reason XBMC doesn’t seem to send or the proxy doesn’t seem to receive the url request. I have no idea why, so i’ll probably have to back track some builds to find out when it stopped working…
Finally, for WOL I think i’m going to start off simple and just have a setting item (“Send WOL” and associated MAC entry) which will send a magic packet each time the plugin is run. A bit “brute force”, but integrating it and only sending when needed is going to mess about with the code too much, plus it introduces a timing delay and plugins arent very good at doing something else whilst waiting for an event…
Skin wise - I think I’m done with Confluence for now. It seems to work ok.
However, i’ve started making changes to the Cirrus skin on XBMC, which has some really nice media views (better than confluence). I’ve got media and basic menus, just need to add in links to the filtered menus and plugins.
On plugins - the final thing I need to do is to get plugins working properly. I suspect the reson they don;t work too well right now is a combination of webkit and me not knowing what I need to send to Plex to make it work.