File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ alembic==0.6.0
2+ anyjson==0.3.3
3+ APScheduler==3.0.1
4+ astroid==1.4.9
5+ Babel==1.3
6+ backports.functools-lru-cache==1.3
7+ BeautifulSoup==3.2.1
8+ blinker==1.3
9+ cffi==0.8.6
10+ chardet==2.3.0
11+ coaster==0.4.1
12+ colorama==0.3.2
13+ configparser==3.5.0
14+ cryptography==0.6.1
15+ cycler==0.10.0
16+ decorator==3.4.0
17+ defusedxml==0.4.1
18+ docflow==0.3.1
19+ docutils==0.12
20+ ecdsa==0.11
21+ Fabric==1.7.0
22+ Flask==0.10.1
23+ Flask-Admin==1.0.7
24+ Flask-Assets==0.10
25+ Flask-Babel==0.9
26+ Flask-Cache==0.12
27+ Flask-Login==0.2.6
28+ Flask-Mail==0.9.0
29+ Flask-OpenID==1.2.5
30+ Flask-Restless==0.12.1
31+ Flask-Script==0.6.2
32+ Flask-SQLAlchemy==1.0
33+ Flask-Testing==0.4
34+ Flask-WTF==0.9.1
35+ FreeSWITCH-ESL-Python==1.2
36+ funcsigs==1.0.2
37+ functools32==3.2.3.post2
38+ futures==2.2.0
39+ html5lib==0.999
40+ infinity==1.3
41+ intervals==0.3.1
42+ ipython==2.3.1
43+ isodate==0.5.0
44+ isort==4.2.5
45+ itsdangerous==0.24
46+ Jinja2==2.7.1
47+ lazy-object-proxy==1.2.2
48+ lxml==4.2.5
49+ Mako==0.8.1
50+ Markdown==2.5.2
51+ MarkupSafe==0.23
52+ matplotlib==2.0.0
53+ mccabe==0.6.1
54+ memory-profiler==0.43
55+ mock==1.0.1
56+ ndg-httpsclient==0.3.2
57+ nose==1.3.0
58+ numpy==1.8.2
59+ ofs==0.4.2
60+ Pairtree===0.7.1-T
61+ paramiko==1.15.2
62+ pathlib==1.0.1
63+ pbr==1.10.0
64+ pexpect==3.2
65+ Pillow==2.6.1
66+ plivohelper==0.3.5
67+ ply==3.4
68+ #psycopg2==2.5.2
69+ pyasn1==0.1.7
70+ pycparser==2.10
71+ pycrypto==2.6.1
72+ pycups==1.9.63
73+ pycurl==7.19.5
74+ PyExecJS==1.0.4
75+ Pygments==2.0.1
76+ pygobject
77+ pylint==1.6.5
78+ pyOpenSSL==0.14
79+ pyparsing==2.1.10
80+ #pysmbc==1.0.15.3
81+ #python-apt
82+ python-dateutil==2.2
83+ python-debian
84+ python-debianbts
85+ python-openid==2.2.5
86+ pytz==2016.7
87+ pyxdg==0.25
88+ pyzmq==14.2.0
89+ #reportbug
90+ #reportlab
91+ requests
92+ roman
93+ semantic-version==2.3.1
94+ simplejson==3.6.5
95+ six==1.10.0
96+ SOAPpy==0.12.22
97+ speaklater==1.3
98+ SQLAlchemy==0.8.2
99+ SQLAlchemy-Utils==0.25.0
100+ SquareMap==1.0.4
101+ subprocess32==3.2.7
102+ suds==0.4
103+ tzlocal==1.1.2
104+ urllib3==1.9.1
105+ urwid==1.2.1
106+ validators==0.7
107+ virtualenv==15.0.3
108+ webassets==0.10.1
109+ Werkzeug==0.9.3
110+ wrapt==1.10.8
111+ wstools==0.4.3
112+ WTForms==1.0.4
113+ WTForms-Alchemy==0.7.12
114+ WTForms-Components==0.9.1
115+ wxPython
116+ wxPython-common
117+ Yapsy==1.10.423
118+
Original file line number Diff line number Diff line change @@ -205,8 +205,8 @@ def music_program_add():
205205 form = ProgramForm (request .form )
206206 program = None
207207
208- # hosts in my network
209- playlists = ContentMusicPlaylist .query .join (Station ).join (User , Network .networkusers ).filter (
208+ # Playlists and streams in my network
209+ playlists = ContentMusicPlaylist .query .join (Station ).join (Network ). join ( User , Network .networkusers ).filter (
210210 User .id == current_user .id ).all () # Playlist->Station->Network->user
211211 streams = ContentStream .query .join (User , Network .networkusers ).filter (
212212 User .id == current_user .id ).all () # created by -> user -> Network
@@ -232,7 +232,7 @@ def music_program_definition(music_program_id):
232232 music_program = Program .query .filter_by (id = music_program_id ).first_or_404 ()
233233
234234 # TODO: Filter these by network
235- playlists = ContentMusicPlaylist .query .join (Station ).join (User , Network .networkusers ).filter (User .id == current_user .id ).all () #Playlist->Station->Network->user
235+ playlists = ContentMusicPlaylist .query .join (Station ).join (Network ). join ( User , Network .networkusers ).filter (User .id == current_user .id ).all () #Playlist->Station->Network->user
236236 streams = ContentStream .query .join (User , Network .networkusers ).filter (User .id == current_user .id ).all () # created by -> user -> Network
237237
238238 # render the program structure
You can’t perform that action at this time.
0 commit comments