WIP Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - 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) +---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195) +---- Thread: WIP Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread (/showthread.php?tid=259449) 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
174
175
176
|
RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - DanCooper - 2017-05-09 (2017-05-09, 16:37)axlt2002 Wrote:(2017-04-08, 13:48)DanCooper Wrote: Yes, the uniqueid table is a part of the Kodi DB. I've tested it with a new NFO that contains multiple <uniqueid> nodes: Sorry, I've no skills in Python :-( But I would just do it with a regex: Code: imdb":"(tt\d{6}\d*) Link RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - ralfonat - 2017-05-09 (2017-05-09, 16:37)axlt2002 Wrote: Basically, which is the code/syntax to save in a local variable (e.g. IMDb_id) the received tt4574334 value? I have tried the following code but the result in IMDb_id is None:jSonResponse.result.tvshows["0"].uniqueid.imdb or jSonResponse.["result"]["tvshows"][0]["uniqueid"]["imdb"] RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - axlt2002 - 2017-05-10 (2017-05-09, 19:30)DanCooper Wrote:(2017-05-09, 16:37)axlt2002 Wrote:(2017-04-08, 13:48)DanCooper Wrote: Yes, the uniqueid table is a part of the Kodi DB. I've tested it with a new NFO that contains multiple <uniqueid> nodes: Thanks Dan, but your correct solution doesn't fit in my add-on that is written in python. I don't know how to include the regex command in it... RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - axlt2002 - 2017-05-10 (2017-05-09, 20:16)ralfonat Wrote:(2017-05-09, 16:37)axlt2002 Wrote: Basically, which is the code/syntax to save in a local variable (e.g. IMDb_id) the received tt4574334 value? I have tried the following code but the result in IMDb_id is None:jSonResponse.result.tvshows["0"].uniqueid.imdb Thanks for your answer ralfonat. I have tried both solutions you proposed but the first one doesn't provide any result while the second one gives a syntax error...I'm puzzled...and stuck! RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - FordPrefect138 - 2017-05-10 (2017-05-10, 12:45)axlt2002 Wrote:(2017-05-09, 20:16)ralfonat Wrote:(2017-05-09, 16:37)axlt2002 Wrote: Basically, which is the code/syntax to save in a local variable (e.g. IMDb_id) the received tt4574334 value? I have tried the following code but the result in IMDb_id is None:jSonResponse.result.tvshows["0"].uniqueid.imdb Sorry, I hit reply earlier before noticing there was a list inside the dict. ralfonat was close, try the following instead. Code: jSonResponse["result"]["tvshows"][0]["uniqueid"]["imdb"] If you're looking to loop through it in the case that the json returns multiple shows, you can use the following code to do that. Code: for item in jSonResponse['result']['tvshows']: RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - axlt2002 - 2017-05-11 (2017-05-10, 19:07)FordPrefect138 Wrote:(2017-05-10, 12:45)axlt2002 Wrote:(2017-05-09, 20:16)ralfonat Wrote: jSonResponse.result.tvshows["0"].uniqueid.imdb Thanks a lot ForPerfect138! In the meanwhile I was playing with it and found an alternative solution: Code: for item in jSonResponse['result']['tvshows']: Your is definitely more streamlined. I will go for that! RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - jeinnor - 2017-05-11 is there plan to incorporate Logos/Images for Dolby Atmos and DTS:X formats when its detected that the main sound track contains these? RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - DanCooper - 2017-05-11 (2017-05-11, 10:48)jeinnor Wrote: is there plan to incorporate Logos/Images for Dolby Atmos and DTS:X formats when its detected that the main sound track contains these?Yes. I'm already working on new flags for video sources, resolutions, video and audio codecs. I try to make a new template for all these. Gesendet von meinem Nexus 5 mit Tapatalk RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - Bjur - 2017-05-14 (2017-05-11, 10:54)DanCooper Wrote:Hi when do you expext to have a new version ready that will fix the bug with memory leak?(2017-05-11, 10:48)jeinnor Wrote: is there plan to incorporate Logos/Images for Dolby Atmos and DTS:X formats when its detected that the main sound track contains these?Yes. I'm already working on new flags for video sources, resolutions, video and audio codecs. I try to make a new template for all these. RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - komplex - 2017-05-14 Using the latest master from github and getting this error https://pastebin.com/raw/UXZbaZ7D Happens when i click on the tv shows sections i can see a blank entry at the top of it. I also have an issue where settings don't seem to save, well they save but as soon as you open the settings dialog again they revert back. This is annoying as hell because if i don't check before saving and exiting it messes with settings i didn't intend to change EDIT: the first issue was fixed by simply just updating library before clicking on tv shows >.< second issue still there RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - DanCooper - 2017-05-15 (2017-05-14, 21:55)komplex Wrote: Using the latest master from github and getting this error Please re-upload the log for the first error. I've to fix bugs like this. There also should be an error logged if the settings can't be saved. Please upload it as well. RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - komplex - 2017-05-15 (2017-05-15, 10:04)DanCooper Wrote: Please re-upload the log for the first error. I've to fix bugs like this. https://pastebin.com/raw/bNwyFuLj errors shows up 3 times in that before i just updated library and was fine. The issue with the settings doesn't show an error in the logs at all RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - Bjur - 2017-05-17 (2017-05-14, 15:38)Bjur Wrote:(2017-05-11, 10:54)DanCooper Wrote:Hi when do you expext to have a new version ready that will fix the bug with memory leak?(2017-05-11, 10:48)jeinnor Wrote: is there plan to incorporate Logos/Images for Dolby Atmos and DTS:X formats when its detected that the main sound track contains these?Yes. I'm already working on new flags for video sources, resolutions, video and audio codecs. I try to make a new template for all these. Is the bugfix included in the next version or should I go back to beta. RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - DanCooper - 2017-05-17 (2017-05-17, 12:03)Bjur Wrote:Good question... I'm never was able to reproduce your memory error. So there are three options:(2017-05-14, 15:38)Bjur Wrote:(2017-05-11, 10:54)DanCooper Wrote: Yes. I'm already working on new flags for video sources, resolutions, video and audio codecs. I try to make a new template for all these.Hi when do you expext to have a new version ready that will fix the bug with memory leak? - simply test the next release - install VisualStudio 2017 Community edition, download the source code and try to reproduce your issue (I can help you with this if you want/need) - go back to a version that works for you Gesendet von meinem Nexus 5 mit Tapatalk RE: Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread - Bjur - 2017-05-17 Okay thanks I will consider what to do. But are the BETA working absolutely fine and still have many of the same things as the alpha? |