- sandos - 2011-02-03
lzoubek Wrote:Currently there is quite unstable version on github, I have not yet finished button images, don't get confused. I am quite busy right now.
My biggest problem with mopidy was, that I was not able to run it and test client against it, I had to test against classic mpd
The issue with self compiled xbmc can be, that you have to compile it with --disable-external-python. Hope it helps. I compile XBMC too (gentoo fan)
I just took a look at your patch in your forked version and it looks kosher for me. You are right, there is no support in XML for various actions, only up,down,right,left. I am glad to have some soulmate :-)
Oh, I actually only copied gui.py (which could lead to trouble I guess) to my addons-folder, nothing else. It did work fairly good, thouh.
- lzoubek - 2011-02-10
hey guys,
I've pushed my latest changes. Added single mode, replaced consume mode radiobutton by icon, finally fixed navigation among player control buttons (can now navigate by right/left even when playing), added option to force settings on startup.
could you test? (if you are interested in those changes)
- guga31bb - 2011-02-10
Just tried this out for the first time. I can connect and see my music, but when I hit play no sound comes out. It says it's streaming.
My mpd is setup to stream http. Is that why it's not working?
- lzoubek - 2011-02-10
guga31bb Wrote:Just tried this out for the first time. I can connect and see my music, but when I hit play no sound comes out. It says it's streaming.
My mpd is setup to stream http. Is that why it's not working?
I am using http streaming and it works fine. I have MPD with streaming enabled on remote machine.
Have you setup stream url in settings?
Have you enabled 'stream when playing' in settings?
To ensure your streaming works, you can try to play it for example : mplayer <stream url>
Does it work using mplayer (or other player)?
- guga31bb - 2011-02-10
Thanks for the response.
Yes, I setup the stream URL and enabled 'stream while playing'. When I try to play it in xbmc, it connects to the stream and says the stream is playing but no sound comes out.
Yes, the stream works -- I'm listening to it right now on a different computer (using ogg123).
It's probably something silly that I overlooked but I can't figure it out =(
EDIT -- Got it to play! Even though it said the stream was playing, I also had to hit play in the xbmc Music Player (the thing that opens when you hit m). Sorry for being slow. I'm excited I got this working -- looks like a great project!
Lovely, but... (keybing queue/play, weird id tags) - carunga - 2011-02-27
... I habe two problems.
1) I wasnt able to figure out the keybinding for queueing / playing a song / album. Just coud do that with the right mouse buttom.
2) I get weird id tag info on the song playing, not within the plugin but on the homescreen. It seems to be one long string with a lot of % in it (and some parts of the correct file name / tag info).
Can anybody help?
Besides: thanks for making this great plugin.
- lzoubek - 2011-02-28
Thanks for using this plugin
carunga Wrote:... I habe two problems.
1) I wasnt able to figure out the keybinding for queueing / playing a song / album. Just coud do that with the right mouse buttom. If you are using keyboard, you can queue by pressing 'q' key or you can pop up context menu using 'c' key. (this is also default behaviour in XBMC as whole)
carunga Wrote:2) I get weird id tag info on the song playing, not within the plugin but on the homescreen. It seems to be one long string with a lot of % in it (and some parts of the correct file name / tag info). Could you attach screenshot? Not sure what exactly you're talking about.
- P.Kosunen - 2011-08-16
When i start this addon, in "getting artists" phase it consumes all memory & swap and crashes XBMC. Is there some limit i can adjust etc.?
(mpd database file is ~23MB, 4GB memory, 4GB swap)
- lzoubek - 2011-08-18
P.Kosunen Wrote:When i start this addon, in "getting artists" phase it consumes all memory & swap and crashes XBMC. Is there some limit i can adjust etc.?
(mpd database file is ~23MB, 4GB memory, 4GB swap)
hmm .. this is pretty lagre database. Mine has 10 times less. There is currently no way setting any limits. "getting artists" phase simply queries server for list of artists, nothing more. Are you using x86 or x86_64 architecture? What about other python MPD Clients, does sonata for example work fine?
I am sorry, there's nothing I can do with your issue
- lzoubek - 2011-08-18
Sorry for not responding too long, I must have missed your comment.
carunga Wrote:1) I wasnt able to figure out the keybinding for queueing / playing a song / album. Just coud do that with the right mouse buttom. Key binding for queueing is 'q' or if you wanna pop-up context menu, hit 'c' (these are standard in XBMC)
carunga Wrote:2) I get weird id tag info on the song playing, not within the plugin but on the homescreen. It seems to be one long string with a lot of % in it (and some parts of the correct file name / tag info). Can you attach screenshot? You probably play MPD and listen to it's stream. I am using it same way and I see no artist/song info on my home screen when listening MPD stream. In fact MPD Client gets this info directly from MPD. XBMC must extract it somehow from stream. So this could be MPD Server issue.
- P.Kosunen - 2011-08-19
lzoubek Wrote:hmm .. this is pretty lagre database. Mine has 10 times less. There is currently no way setting any limits. "getting artists" phase simply queries server for list of artists, nothing more. Are you using x86 or x86_64 architecture? What about other python MPD Clients, does sonata for example work fine?
Gentoo x64. That sonata has massive dependencies, will try later.
This is not a big issue, i can always play directly from XBMC or VDR. MPD is just for background listening, i have currently basic controls through irexec.
- lzoubek - 2011-09-16
P.Kosunen Wrote:When i start this addon, in "getting artists" phase it consumes all memory & swap and crashes XBMC. Is there some limit i can adjust etc.?
(mpd database file is ~23MB, 4GB memory, 4GB swap) I've pushed an attempt to save memory when loading artists. Could you pull & retest from github? I've pushed it to eden branch and it should work on dharma too.
- Beachboy - 2011-10-04
Hi All,
well, MPD Client would be the real killer for me.
But I seem to have some issues, when it starts
it just says: "An error occured, see log"
My MPD version is kind of old: 0.13.2
Hope it is possible to work anyway, since all
other clients (Minion, Mpod) are working with it.
Thanks for your help,
Guenter
Edit: Happens with 1.04 and 2.04
PS: Here is the log of:
- starting XBMC
- Starting MPD Client
- Stopping XBMC
(I had to shorten it slightly)
PHP Code: 21:42:08 T:3078645616 M:228192256 NOTICE: load settings... 21:42:08 T:3078645616 M:228192256 ERROR: Unable to load libcrystalhd.so.3, reason: libcrystalhd.so.3: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden 21:42:08 T:3078645616 M:228192256 NOTICE: special://profile/ is mapped to: special://masterprofile/ 21:42:08 T:3078645616 M:228192256 NOTICE: loading special://masterprofile/guisettings.xml 21:42:08 T:3078645616 M:227811328 NOTICE: Getting hardware information now... 21:42:08 T:3078645616 M:227811328 NOTICE: Checking resolution 12 21:42:08 T:3078645616 M:227811328 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml. 21:42:08 T:3078645616 M:227811328 NOTICE: Loaded playercorefactory configuration 21:42:08 T:3078645616 M:227811328 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml. 21:42:08 T:3078645616 M:227811328 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping. 21:42:08 T:3078645616 M:227811328 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml) 21:42:08 T:3078645616 M:227811328 NOTICE: Default DVD Player: dvdplayer 21:42:08 T:3078645616 M:227811328 NOTICE: Default Video Player: dvdplayer 21:42:08 T:3078645616 M:227811328 NOTICE: Default Audio Player: paplayer 21:42:08 T:3078645616 M:227811328 NOTICE: Loading media sources from special://masterprofile/sources.xml 21:42:08 T:3078645616 M:225394688 NOTICE: Using visual 0x100 21:42:09 T:3078645616 M:221978624 NOTICE: GL_VENDOR = DRI R300 Project 21:42:09 T:3078645616 M:221978624 NOTICE: GL_RENDERER = Mesa DRI R300 (R350 4E48) 20090101 x86/MMX+/3DNow!+/SSE2 TCL DRI2 21:42:09 T:3078645616 M:221978624 NOTICE: GL_VERSION = 1.5 Mesa 7.9-devel 21:42:09 T:3078645616 M:221978624 NOTICE: GL_SHADING_LANGUAGE_VERSION = NULL 21:42:09 T:3078645616 M:221978624 NOTICE: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_provoking_vertex GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_MESAX_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_framebuffer_blit GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_rectangle GL_NV_vertex_program GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays 21:42:09 T:3078645616 M:222232576 ERROR: GLX: Same window as before, refreshing context 21:42:09 T:3078645616 M:223866880 NOTICE: start dvd mediatype detection 21:42:09 T:3078645616 M:223866880 NOTICE: initializing playlistplayer 21:42:09 T:3078645616 M:223866880 NOTICE: DONE initializing playlistplayer 21:42:09 T:3078645616 M:220114944 NOTICE: UpdateLibraries - Starting video library startup scan 21:42:09 T:3078645616 M:220090368 NOTICE: UpdateLibraries - Starting music library startup scan 21:42:09 T:3051223920 M:220090368 NOTICE: VideoInfoScanner: Starting scan .. 21:42:09 T:3078645616 M:219709440 NOTICE: initialize done 21:42:09 T:3078645616 M:219709440 NOTICE: Running the application... 21:42:09 T:3078645616 M:219693056 NOTICE: ES: Starting event server 21:42:09 T:3078645616 M:219693056 NOTICE: DS: Starting dbus server 21:42:09 T:3024083824 M:219660288 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777 21:42:09 T:3024083824 M:219660288 NOTICE: UDP: Listening on port 9777 21:42:09 T:3078645616 M:220119040 NOTICE: starting zeroconf publishing 21:42:09 T:3015691120 M:220246016 NOTICE: DS: Starting DBUS server in Run Application aka thread 21:42:09 T:3040869232 M:220119040 NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00 21:42:23 T:2884787056 M:223756288 NOTICE: -->Python Interpreter Initialized<-- 21:42:24 T:2884787056 M:220827648 ERROR: TranslateResolution invalid resolution specified for 0 21:42:24 T:2884787056 M:220827648 NOTICE: PMPDClient 21:42:24 T:2884787056 M:220827648 NOTICE: Connecting to MPD 192.168.2.26:6600 21:42:24 T:2884787056 M:220811264 NOTICE: Connected 21:42:24 T:2884787056 M:220684288 NOTICE: Handling changes - ['mixer', 'playlist', 'player', 'options'] 21:42:24 T:2815183728 M:221413376 NOTICE: Starting time poller thread 21:42:24 T:2884787056 M:221396992 NOTICE: Traceback (most recent call last): 21:42:24 T:2884787056 M:221396992 NOTICE: File "/home/guenter/.xbmc/addons/lzoubek-xbmc-plugin-mpdc-c673dcb/resources/lib/gui.py", line 204, in _connect 21:42:24 T:2884787056 M:221396992 NOTICE: self._handle_changes(self.client,['mixer','playlist','player','options']) 21:42:24 T:2884787056 M:221396992 NOTICE: File "/home/guenter/.xbmc/addons/lzoubek-xbmc-plugin-mpdc-c673dcb/resources/lib/gui.py", line 555, in _handle_changes 21:42:24 T:2884787056 M:221396992 NOTICE: self.controls.update_player_controls(self.getControl(PLAYER_CONTROL),state) 21:42:24 T:2884787056 M:221396992 NOTICE: File "/home/guenter/.xbmc/addons/lzoubek-xbmc-plugin-mpdc-c673dcb/resources/lib/playercontrols.py", line 103, in update_player_controls 21:42:24 T:2884787056 M:221396992 NOTICE: img = self._get_image(name+status[name]) 21:42:24 T:2884787056 M:221396992 NOTICE: KeyError: 'single' 21:42:26 T:2884787056 M:221167616 NOTICE: disconnecting 21:42:26 T:2884787056 M:221167616 NOTICE: waiting for poller thread 21:42:26 T:2884787056 M:221167616 NOTICE: done 21:42:26 T:2884787056 M:221167616 NOTICE: disconnecting time poller 21:42:26 T:2884787056 M:221184000 NOTICE: waiting for time poller thread 21:42:26 T:2884787056 M:221184000 NOTICE: done 21:42:26 T:2884787056 M:221184000 NOTICE: client disconnected 21:42:30 T:3078645616 M:221675520 NOTICE: Storing total System Uptime 21:42:30 T:3078645616 M:221675520 NOTICE: Saving settings 21:42:30 T:3078645616 M:221708288 NOTICE: stop all 21:42:32 T:3051223920 M:221720576 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:23 21:42:32 T:3078645616 M:221847552 NOTICE: ES: Stopping event server 21:42:32 T:3078645616 M:221847552 NOTICE: stopping zeroconf publishing 21:42:33 T:3015691120 M:221847552 NOTICE: DS: DBUS server stopped 21:42:33 T:3024083824 M:221863936 NOTICE: ES: UDP Event server stopped 21:42:33 T:3078645616 M:221876224 NOTICE: stop dvd detect media 21:42:33 T:3078645616 M:221888512 NOTICE: stop sap announcement listener 21:42:33 T:3078645616 M:221888512 NOTICE: clean cached files! 21:42:33 T:3078645616 M:221888512 NOTICE: unload skin 21:42:34 T:3078645616 M:221917184 ERROR: ClearBlock: Trying to clear non existent block /home/guenter/.xbmc/addons/lzoubek-xbmc-plugin-mpdc-c673dcb 21:42:34 T:3078645616 M:221941760 ERROR: Previous line repeats 1 times. 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDPrevTrackNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDPlayNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDStopNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDNextTrackNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDRandomOffNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture OSDRepeatNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture SingleOffNF.png 21:42:34 T:3078645616 M:221941760 WARNING: Cleanup: Having to cleanup texture ConsumeOffNF.png 21:42:34 T:3078645616 M:222576640 NOTICE: stop python 21:42:34 T:3078645616 M:224075776 NOTICE: stopped 21:42:34 T:3078645616 M:224075776 NOTICE: destroy 21:42:34 T:3078645616 M:224075776 NOTICE: unload sections
- lzoubek - 2011-10-04
Unfortunately, I do not have a way to test against MPD 0.13. I can push posiible fix + more debug logging on github without releasing it to official repo. Would you be able to get MPD Client directly from github?
Edit: problem seems to be, that your server does not support single playback mode and maybe consume too. I'll have to change a few thinks to make client more robust
Edit2: I've pushed code, that should possibly fix your bug to github eden branch. You can either clone it or download as zip and overwrite files in your addons directory. I hope it helps and no other bugs will rise.
support for Apple TV - jschelfh - 2011-10-05
Maybe a stupid question... is this also supposed to work on an appleTV box ?
I get an error in the script.mpdc
|