MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
- mdaddy - 2011-08-21 _Mikie_ Wrote:Personally instead of going through all the hassle of editing configs and ini's and because you don't know exactly what everything links to rather just hard code the values into the widget and then when you update your install just back up a copy of your layout and that widget. I haven't looked at the widget though so I don't know how much work it entails. I'll look at it later next week and maybe make a branch with it in so you can just download it from there with everything in place Ok, job done. I think the longest part was figuring out that I had to change the front.css file too! Otherwise, I only had to hardcode a specific json service uri in my widget.php as you suggested: It was a bit tricky to find all the variables (local PHP variables, global PHP variables, and embedded javascript variables) I had to rename to <name2>. $results = jsonmethodcall("VideoPlaylist.GetItems"); becomes $results = jsonmethodcall("VideoPlaylist.GetItems", array(), 'http://antec.local:8080/jsonrpc'); $ cat front.css Code: /* wNOWPLAYING */ $ diff wNowPlaying2.php wNowPlaying.php Code: 2,13c2,13 - gugahoi - 2011-08-21 Nick8888 Wrote:Could someone please explain the donation button? I couldn't find any discussion on this. Mainly which paypal account it is linked to and what the donations will be used for? Paypayl account is linked to me. No donations yet. Deja and I discussed back then and tried to contact most of the people that do the coding (Nick, Archigos and Mikie, maybe other people too, can't remember). I was happy to just split whatever we get equally not fussed there. I just figured Deja and I were spending so much time coding for this it wouldn't hurt to get a little bit in return. - Aenima99x - 2011-08-21 Just pulled the latest git from master and now the Coming Episodes aren't loading anymore....anyone else seeing this problem? **EDIT** - got it fixed, the log pointed to Safe Mode set to On in the php.ini blocking access to the Coming Episodes. Another question though, I noticed that my apache log is getting slammed with a couple errors. File does not exist: /var/www/jsonrpc File does not exist: /var/www/mfp/css/.css - Nick8888 - 2011-08-21 gugahoi Wrote:Paypayl account is linked to me. No donations yet. Deja and I discussed back then and tried to contact most of the people that do the coding (Nick, Archigos and Mikie, maybe other people too, can't remember). I was happy to just split whatever we get equally not fussed there. I just figured Deja and I were spending so much time coding for this it wouldn't hurt to get a little bit in return. While I agree it would be nice to receive something in return for the effort put into this project, it is open source with many contributors. Accepting donations causes all sorts of problems in terms of inactive/past contributors (Zarquon comes to mind. He put alot of hard work into this project in its early stages). I started this project for my own purposes but decided to share it in an effort to give something back to the xbmc community. That is why in the past I have been happy to redirect people offering donations to xbmc's own donation system. If you wish to maintain the donate button in your own repo then that is fine but I don't think it is something that should be in the main repo. In addition, at the very least it should have a description of who the donation is going to, for what reason (ie your contributions) and state that you are not the only developer of the MediaFrontPage project. - tscheff - 2011-08-21 what's the easiest way to get a 3 column layout ? (without having one spare) - DejaVu - 2011-08-21 Using my Repo it's in the settings. You change the 3 column widths (4th = 0%). Make sure you drag all the widgets from the 4th column first. - _Mikie_ - 2011-08-21 tscheff Wrote:what's the easiest way to get a 3 column layout ? (without having one spare) The master will have it as soon as some other changes are decided on - DejaVu - 2011-08-21 _Mikie_ Wrote:The master will have it as soon as some other changes are decided on I was thinking - Radio buttons that activate 4 or 3 Columns...? - gugahoi - 2011-08-22 Nick8888 Wrote:Could someone please explain the donation button? I couldn't find any discussion on this. Mainly which paypal account it is linked to and what the donations will be used for? Nick8888 Wrote:While I agree it would be nice to receive something in return for the effort put into this project, it is open source with many contributors. Accepting donations causes all sorts of problems in terms of inactive/past contributors (Zarquon comes to mind. He put alot of hard work into this project in its early stages). Fair enough, I'll respect your wishes as they are completely fair. However this will probably mean my pull requests will always come with my donate button... - gugahoi - 2011-08-22 DejaVu Wrote:I was thinking - Radio buttons that activate 4 or 3 Columns...? _Mikie_ Wrote:The master will have it as soon as some other changes are decided on Hey fellas, sorry I've been a bit MIA lately. I'm hoping to have some time this week for some coding. What is the latest news regarding layout organisation? - DejaVu - 2011-08-22 gugahoi Wrote:Hey fellas, sorry I've been a bit MIA lately. I'm hoping to have some time this week for some coding. What is the latest news regarding layout organisation? Checkout my Repo and see what you think. Mikie's created a Widget 'Activator' and 'Column Width' settings. Works well, although I do not suggest trying it in Firefox! EDIT- The Program Check is far better now too. - _Mikie_ - 2011-08-22 @DejaVu I like the ability to custom to any width. Like I might want a bigger middle column than you in 3 column view. I was thinking of having. 3 columns - radio button 4 columns - radio button Custom - 4 text boxes appear on select of radio button I ran into an issue of not knowing how to set a radio button to have multiple values though and a lack of time to try it out properly. @gugahoi As you can see from DejaVu repo it works. I want to implement it into my repo again and then to push to master but I'm waiting on the settings push to be decided on. It would be much easier to do once that has been accepted. If you get a change please look at it and also at the ability to use drop downs with settings. Thanks! - DejaVu - 2011-08-22 _Mikie_ Wrote:@DejaVu I like the ability to custom to any width. Like I might want a bigger middle column than you in 3 column view. I was thinking of having. Seeing as I'm a useless coder, I'm using my 'initative' to get something similar and functional. Watch this space! --EDIT I have something 'funtional' I just need a way to change a value of a text box to '0' once it's hidden via CSS... I gather using Javascript. You will still have your custom fields! - _Mikie_ - 2011-08-22 gugahoi Wrote:Fair enough, I'll respect your wishes as they are completely fair. However this will probably mean my pull requests will always come with my donate button... Use a branch as your 'master' without the donate button and then just push that to your actual master and to the mfp repo master. It will sort it out merging wise. - thezoggy - 2011-08-22 _Mikie_ Wrote:Use a branch as your 'master' without the donate button and then just push that to your actual master and to the mfp repo master. It will sort it out merging wise. jesus why have so many versions of the same app.. why not just have someone create an organization and add all these people as teams. have the offical repo and then x+y can have their unoffical repo in the same spot with their changes.. then you can just merge + cherry pick their changes into the offical repo if need be |