Skip to content

Used xmltodict lib to deal with xml. #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
6add3a0
updated
XenosLu Jul 22, 2017
e301e5e
Merge remote-tracking branch 'refs/remotes/ttopholm/master'
XenosLu Sep 6, 2017
1719e3e
Adjusting indent to 4 space
XenosLu Sep 6, 2017
b66258d
Adjusting indent to 4 space
XenosLu Sep 6, 2017
35c63eb
Adjusting indent to 4 space
XenosLu Sep 6, 2017
d398d0e
Adjusting indent to 4 space
XenosLu Sep 6, 2017
779d574
Adjusting indent to 4 space
XenosLu Sep 6, 2017
2326d48
Adjusting indent to 4 space
XenosLu Sep 6, 2017
eb5b7ce
added *.pyc
XenosLu Sep 6, 2017
add7e2e
ignored test file
XenosLu Sep 6, 2017
1ec6be5
Adjusting indent to 4 space
XenosLu Sep 6, 2017
d1b5146
Adjusting indent to 4 space
XenosLu Sep 6, 2017
b949723
Adjusting indent to 4 space
XenosLu Sep 6, 2017
706d5f9
Adjusting indent to 4 space
XenosLu Sep 6, 2017
c2dfd03
Adjusting indent to 4 space
XenosLu Sep 6, 2017
e6b7dc3
Adjusting indent to 4 space
XenosLu Sep 6, 2017
27d42df
Adjusting indent to 4 space
XenosLu Sep 6, 2017
f4bd9b0
Adjusting indent to 4 space
XenosLu Sep 6, 2017
115c65c
Added new functin soap_request to replace olded ones
XenosLu Sep 6, 2017
1bd926b
Used new third party lib xmltodict to parse xml
XenosLu Sep 6, 2017
28683cc
reworte play & position_info function
XenosLu Sep 6, 2017
56645ba
Adjusted indent to 4 spaces
XenosLu Sep 6, 2017
4df3708
Updated function indent to 4 spaces
XenosLu Sep 6, 2017
a2fe6ad
Adjusted indent to 4 spaces
XenosLu Sep 6, 2017
af59eaa
Added new requirement
XenosLu Sep 6, 2017
44ea252
Updated
XenosLu Sep 6, 2017
6a0b0da
Reworte to get friendlyname use xmltodict
Sep 7, 2017
821c167
Updated pause and stop function
Sep 7, 2017
2eb3195
some PEP-8 format update
Sep 7, 2017
ff81dbf
Removed some old function, reworte some new instead
Sep 7, 2017
03ec12e
Rewrote functions done
XenosLu Sep 7, 2017
4962dd7
Added urlopen timeout to 5
Sep 8, 2017
46bf9e2
Updated
Sep 8, 2017
40f183f
Removed commented codes
Sep 8, 2017
5fcf1cd
updated format in PEP8
Sep 8, 2017
2974641
Fixed bug
XenosLu Sep 8, 2017
f96eb9b
Updated
XenosLu Sep 8, 2017
a6c3ea3
Updated
Sep 11, 2017
1696f39
added speed support for play function
Dec 21, 2017
e0f656b
update
Jan 12, 2018
ee78125
update
Jan 12, 2018
1773c27
added setup script
Jan 12, 2018
2650159
added set_next and next
Jan 29, 2018
b90f64f
expose set_next and next on the cli and make sure the README reflects it
pedrocicoleme Feb 8, 2018
e5a2a38
make dlnap compatible with AVTransport:2
pedrocicoleme Feb 8, 2018
0df5bd7
find the primary ip (not 127.0.0.1) to use in proxy
pedrocicoleme Feb 8, 2018
07ca871
README reflecting new changes
pedrocicoleme Feb 8, 2018
d73d4f5
information regarding MRX-3
pedrocicoleme Feb 8, 2018
94bb261
adds information on --set-next and --next and try to use anchors on R…
pedrocicoleme Feb 9, 2018
5ec857e
fix README formatting
pedrocicoleme Feb 9, 2018
f33c342
more README fix
pedrocicoleme Feb 9, 2018
e705785
Merge pull request #1 from pedrocicoleme/master
XenosLu Nov 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
dlnap/testdlna.py
*.xml
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,29 @@ Simple network player for DLNA/UPnP devices allows you discover devices and play

## TODO
- [ ] Fix '&' bug
- [ ] Set next media
- [x] Set next media
- [x] Volume control
- [ ] Position control
- [x] Position control
- [ ] Add support to play media from local machine, e.g --play /home/username/media/music.mp3 for py3
- [ ] Try it on Windows
- [ ] Add AVTransport:2 and further support
- [x] Try it on Windows
- [x] Add AVTransport:2 and further support
- [ ] Play on multiple devices
- [x] Integrate [local download proxy](https://github.com/cherezov/red)
- [x] Integrate [local download proxy](#proxy)
- [x] Stop/Pause playback
- [x] Investigate if it possible to play images/video's on DLNA/UPnP powered TV (possible via [download proxy](https://github.com/cherezov/dlnap#proxy))
- [x] Investigate if it is possible to play images/videos on DLNA/UPnP powered TV (possible via [download proxy](#proxy))

## Supported devices/software
- [x] Yamaha RX577
- [x] Samsung Smart TV (UE40ES5507) via [proxy](https://github.com/cherezov/dlnap#proxy)
- [x] Samsung Smart TV (UE40ES5507) via [proxy](#proxy)
- [x] Marantz MR611
- [x] [Kodi](https://kodi.tv/)
- [ ] [Volumio2](https://github.com/volumio/Volumio2) (?)
- [x] Pioneer MRX-3 via [proxy](#proxy) and timeout >= 2
* _please email me if it works or doesn't work with your device_

## Prepare
### Install dependencies
pip install -r requirement.txt

## Usage
### Overview
Expand All @@ -40,6 +45,8 @@ __Commands:__
```--play <url>``` set current url for play and start playback it. In case of empty url - continue playing recent media
```--pause``` pause current playback
```--stop``` stop current playback
```--set-next <url>``` set the next media url to be played (gapless)
```--next``` play the next media
__Features:__
```--all``` flag to discover all upnp devices, not only devices with AVTransport ability
```--proxy``` use sync local download proxy, default is ip of current machine
Expand Down
Loading