Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'socket': 0.07; 'url:github': 0.09; 'python': 0.11; 'windows': 0.15; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:media': 0.16; 'subject:windows': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'skip:( 20': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'device': 0.34; 'but': 0.35; 'controls': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'list.': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'track': 0.38; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'simple': 0.61; "you're": 0.61; 'day.': 0.63; 'media': 0.66; 'sound': 0.68; 'subject:player': 0.84; 'married': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 06 Jun 2014 08:40:37 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Automating windows media player on win7 References: <538F7219.2020705@mrabarnett.plus.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1402065653 news.xs4all.nl 2853 [2001:888:2000:d::a6]:34916 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72848 On 06/06/2014 07:39 AM, Deogratius Musiige wrote: > Thanks a lot mate. > > You just made my day. > I have looked around the net but cannot find the controls available. > > I would like to be able to: > - get current playing track > - get wmplayer state (playing/paused/stopped) > - get the selected sound device You might want to ask on the python win32-specific mailing list. https://mail.python.org/mailman/listinfo/python-win32 If you're not married to Windows Media Player, VLC is designed for this sort of thing. It's fully remoteable using a simple socket interface. https://github.com/CodeSturgeon/vlcrc