ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/Client/test
Revision: 514
Committed: 2005-06-20T00:19:47-07:00 (20 years ago) by douglas
File size: 409 byte(s)
Log Message:
Added beginnings of Share stuff.

File Contents

# Content
1 #!/usr/bin/env python
2
3 import httplib, platform
4
5 connection = httplib.HTTPConnection('daemon', 6996)
6 connection.request("MEDIA", "*", """<media>
7 <folder>
8 <path>//%s/DMXXXX$</path>
9 <file>
10 <path>01 E-Pro.wma</path>
11 <artist>Beck</artist>
12 <title>E-Pro</title>
13 <album>Guero [Deluxe Version]</album>
14 <genre>Rock</genre>
15 </file>
16 </folder>
17 </media>""" % (platform.node()))
18 connection.getresponse()
19 connection.close()

Properties

Name Value
svn:executable *