Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72497
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'deploy': 0.09; 'finished.': 0.09; 'next,': 0.09; 'solution,': 0.09; 'testing,': 0.09; 'things,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"here': 0.16; "'n'": 0.16; 'chris,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'invoked.': 0.16; 'invoking': 0.16; 'subject:media': 0.16; 'subject:windows': 0.16; 'ties': 0.16; 'track.': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'that.': 0.31; 'though.': 0.31; 'file': 0.32; 'there.': 0.32; 'run': 0.32; 'device': 0.34; 'could': 0.34; 'operations': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'useful': 0.36; 'project': 0.37; 'skip:- 10': 0.38; 'pm,': 0.38; 'track': 0.38; 'sure': 0.39; 'how': 0.40; 'most': 0.60; "you've": 0.63; 'around,': 0.84; 'it"': 0.84; 'subject:player': 0.84; '\xe2\x80\xa6': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=4+X2U+oRRMpXf/SCtQeBexIcQOf+x+UwgU2vxHulzLY=; b=w6gI18FTGLpETE0rWZp9n0gf9v7bN0Xi9VaPUdRjkbwrzIC4Qifjgp24SPriUCqsD3 PUW+Jx1GhMjyohu9TW85j4EBw42Ye3uIOQvsTi6dnyRGa4DZoB8TF9P9ELRKw+7Rewcl Z0JsXLej/yQOeLU2+JYmLXmP/B2NDc6sdBfpgW10dev0tzOGwoBf/5aulxb6S3WoZQPZ ngisVvAb1ZnkNbkjrnmD2SQwCHaMiStlYfWXOuYjjPPWDrpXfgdluCijeXneYn4nep+o guuliGNll/OBt23c4mRAfi84DuYYLm4yJcVvXGuk6T6q9cFiWe6W1rwZKyGtxTn9eMG+ RPQQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.106.7 with SMTP id v7mr434137vco.46.1401788787545; Tue, 03 Jun 2014 02:46:27 -0700 (PDT) |
| In-Reply-To | <A804AEE67207BF42BAF8CEC79839C8D613BF4D23@kbnmxexc11.Demant.com> |
| References | <A804AEE67207BF42BAF8CEC79839C8D613BF3275@kbnmxexc11.Demant.com> <CAPTjJmrN0kUZ2A9Y9h0j_sL=nzmDa7aiVPAnZnbeLjRB=OOVCA@mail.gmail.com> <A804AEE67207BF42BAF8CEC79839C8D613BF4D23@kbnmxexc11.Demant.com> |
| Date | Tue, 3 Jun 2014 19:46:27 +1000 |
| Subject | Re: Automating windows media player on win7 |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.10610.1401788789.18130.python-list@python.org> (permalink) |
| Lines | 41 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1401788789 news.xs4all.nl 2923 [2001:888:2000:d::a6]:38040 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:72497 |
Show key headers only | View raw
On Tue, Jun 3, 2014 at 7:42 PM, Deogratius Musiige <DMusiige@sennheisercommunications.com> wrote: > Hi Chris, > > I want to have wmplayer as part of my automitized test for a headset via the > USB HID. > > I want to be able to execute some of the following operations in my python > script: > > 1. Play > > 2. Get playing track > > 3. Next > > 4. Get active device > > 5. … > > I am not sure if you are able to do this with your project Play, definitely. Next, not specifically, but by sending the letter 'n' you can achieve that. Active device? Not sure what you mean there. The one part that doesn't exist is "Get playing track". But you could manage this the other way around, by not invoking a playlist at all. If you run "vlc --play-and-exit some_file.wav", then when that process terminates, the track has finished. Kill the process or send Ctrl-Q to skip to the next track. Keep track (pun intended) of what file you've most recently invoked. I'm not sure how this ties in with your headset testing, though. By the look of things, the Yosemite project isn't a "here it is, just deploy it" solution, but you may find that there's some useful code you can borrow. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Automating windows media player on win7 Chris Angelico <rosuav@gmail.com> - 2014-06-03 19:46 +1000
csiph-web