Redmine: Issueshttps://redmine.exotica.org.uk/https://redmine.exotica.org.uk/favicon.ico?14380463252023-05-14T23:05:56ZRedmine
Redmine XBMC4Xbox - Bug #372 (New): SCRAPERS: Updated scrapers for Movies and TV Showshttps://redmine.exotica.org.uk/issues/3722023-05-14T23:05:56Zantonic901
<p>In case you get time to review this implementation. Inside zip you will find new scrapers for Movies and TV Shows based on TMDB API. Old ones should be deleted. Provided patch file adds support for <chain></chain> inside parsers xml files and allows calling custom functions from <GetEpisodeList>. This patch is needed for TV Show scraper else it won't work (won't parse Episode info).</p> XBMC4Xbox - Feature #371 (New): GUILIB: added colordiffuse attribute on texture definitionhttps://redmine.exotica.org.uk/issues/3712023-02-13T20:43:41Zantonic901
<p>- Link to my PR: <a class="external" href="https://github.com/antonic901/xbmc4xbox-redux/pull/5">https://github.com/antonic901/xbmc4xbox-redux/pull/5</a><br />- This is backport of [#1772](<a class="external" href="https://github.com/xbmc/xbmc/pull/1772">https://github.com/xbmc/xbmc/pull/1772</a>)<br />- More info can be found [here](<a class="external" href="https://forum.kodi.tv/showthread.php?tid=158812&pid=1437421#pid1437421">https://forum.kodi.tv/showthread.php?tid=158812&pid=1437421#pid1437421</a>)</p>
<blockquote>
<p>2013-06-01 colordiffuse attribute for textures</p>
<p>a colordiffuse attribute for textures has been added:<br /><pre><code class="xml syntaxhl" data-language="xml"><span class="nt"><texture</span> <span class="na">colordiffuse=</span><span class="s">"FFFFAAFF"</span><span class="nt">></span>texture.png<span class="nt"></texture></span>
<span class="nt"><texture</span> <span class="na">colordiffuse=</span><span class="s">"$VAR[colordiffuse]"</span><span class="nt">></span>texture.png<span class="nt"></texture></span>
<span class="nt"><texture</span> <span class="na">colordiffuse=</span><span class="s">"$INFO[colordiffuse]"</span><span class="nt">></span>texture.png<span class="nt"></texture></span>
</code></pre><br />works for all texture controls, for example textureradioon, textureradiooff, texturefocus, texturenofocus etc.</p>
<p>git commit: [<a class="external" href="https://github.com/xbmc/xbmc/commit/20b8...5721e91d7f](https://github.com/xbmc/xbmc/commit/20b850eea370d0718959c7af9698a45721e91d7f)">https://github.com/xbmc/xbmc/commit/20b8...5721e91d7f](https://github.com/xbmc/xbmc/commit/20b850eea370d0718959c7af9698a45721e91d7f)</a><br />pull request: [1772](<a class="external" href="https://github.com/xbmc/xbmc/pull/1772">https://github.com/xbmc/xbmc/pull/1772</a>) (PR)</p>
</blockquote> XBMC4Xbox - Feature #370 (New): GUILIB: Allow use of $NUMBER[] to specify a number in XML tagshttps://redmine.exotica.org.uk/issues/3702023-02-13T20:36:07Zantonic901
<p>- Link to my PR: <a class="external" href="https://github.com/antonic901/xbmc4xbox-redux/pull/4">https://github.com/antonic901/xbmc4xbox-redux/pull/4</a><br />- This is backport of [#3919](<a class="external" href="https://github.com/xbmc/xbmc/pull/3919">https://github.com/xbmc/xbmc/pull/3919</a>)<br />- More info can be found [here](<a class="external" href="https://forum.kodi.tv/showthread.php?tid=158812&pid=1592939#pid1592939">https://forum.kodi.tv/showthread.php?tid=158812&pid=1592939#pid1592939</a>)</p>
<blockquote>
<p>2014-01-04 Add support for $NUMBER[] in labels</p>
<p>you can now use $NUMBER[] inside labels to display a numerical value.</p>
<p>forum thread: <a class="external" href="http://forum.xbmc.org/showthread.php?tid=181529">http://forum.xbmc.org/showthread.php?tid=181529</a><br />git commit: [<a class="external" href="https://github.com/xbmc/xbmc/commit/bcbd...d4e5a4b68f](https://github.com/xbmc/xbmc/commit/bcbd22b4cba604f3f559ae394b0bbbd4e5a4b68f)">https://github.com/xbmc/xbmc/commit/bcbd...d4e5a4b68f](https://github.com/xbmc/xbmc/commit/bcbd22b4cba604f3f559ae394b0bbbd4e5a4b68f)</a><br />pull request: [3919](<a class="external" href="https://github.com/xbmc/xbmc/pull/3919">https://github.com/xbmc/xbmc/pull/3919</a>) (PR)</p>
</blockquote> XBMC4Xbox - Feature #369 (New): GUILIB: Drop back compatibility code and inconsistencieshttps://redmine.exotica.org.uk/issues/3692023-02-13T20:33:37Zantonic901
<p>- Link to my PR: <a class="external" href="https://github.com/antonic901/xbmc4xbox-redux/pull/3">https://github.com/antonic901/xbmc4xbox-redux/pull/3</a><br />- This is backport from [#4613](<a class="external" href="https://github.com/xbmc/xbmc/pull/4613">https://github.com/xbmc/xbmc/pull/4613</a>)<br />- More info can be found [here](<a class="external" href="https://forum.kodi.tv/showthread.php?tid=194515&pid=1718582#pid1718582">https://forum.kodi.tv/showthread.php?tid=194515&pid=1718582#pid1718582</a>)</p>
<blockquote>
<p>2014-05-23 label alignment change inside containers</p>
<p>for labels inside containers, <left> will now always mean the left side of the control.<br />previously, for labels that are center or right aligned, left meant the center / right side of the control.</p>
<p>git commit: [<a class="external" href="https://github.com/xbmc/xbmc/commit/917b...32ec325d60](https://github.com/xbmc/xbmc/commit/917b1ec27e2caaa67afc002b4877ac32ec325d60)">https://github.com/xbmc/xbmc/commit/917b...32ec325d60](https://github.com/xbmc/xbmc/commit/917b1ec27e2caaa67afc002b4877ac32ec325d60)</a><br />pull request: [4613](<a class="external" href="https://github.com/xbmc/xbmc/pull/4613">https://github.com/xbmc/xbmc/pull/4613</a>) (PR)</p>
</blockquote> XBMC4Xbox - Feature #368 (New): GUILIB: Control positioninghttps://redmine.exotica.org.uk/issues/3682023-02-13T20:31:55Zantonic901
<p>- Link to my PR: <a class="external" href="https://github.com/antonic901/xbmc4xbox-redux/pull/2">https://github.com/antonic901/xbmc4xbox-redux/pull/2</a><br />- This is backport of [#3451](<a class="external" href="https://github.com/xbmc/xbmc/pull/3451">https://github.com/xbmc/xbmc/pull/3451</a>)<br />- More info can be found [here](<a class="external" href="https://forum.kodi.tv/showthread.php?tid=158812&pid=1541008#pid1541008">https://forum.kodi.tv/showthread.php?tid=158812&pid=1541008#pid1541008</a>)</p>
<blockquote>
<p>2013-11-01 New control positioning method</p>
<p>this commit adds a new way to position controls on screen.</p>
<p><left><br /><top><br /><right><br /><bottom><br /><centerleft><br /><centertop><br /><centerright><br /><centerbottom></p>
<blockquote>
</blockquote>
<p><img src="https://i.imgur.com/m9rBc4P.png" alt="" /></p>
<p>on top of that, it also allows you to use percentages instead of absolute values.</p>
<p>note: the old way (posx/posy/width/height) will still work in gotham<br />note: for label positioning to work correctly, defaults.xml should have no position defined for label.</p>
<p>for more info, please use the forum thread below.</p>
<p>forum thread: <a class="external" href="http://forum.xbmc.org/showthread.php?tid=176115">http://forum.xbmc.org/showthread.php?tid=176115</a><br />git commit: [<a class="external" href="https://github.com/xbmc/xbmc/commit/a52e...01ae0868f3](https://github.com/xbmc/xbmc/commit/a52edf6fecb8056203d0575150508901ae0868f3)">https://github.com/xbmc/xbmc/commit/a52e...01ae0868f3](https://github.com/xbmc/xbmc/commit/a52edf6fecb8056203d0575150508901ae0868f3)</a><br />pull request: [3451](<a class="external" href="https://github.com/xbmc/xbmc/pull/3451">https://github.com/xbmc/xbmc/pull/3451</a>) (PR)</p>
</blockquote> XBMC4Xbox - Feature #367 (New): GUILIB: allow <width>auto</width> for label controlshttps://redmine.exotica.org.uk/issues/3672023-02-13T20:27:50Zantonic901
<p>- Link to my PR: <a class="external" href="https://github.com/antonic901/xbmc4xbox-redux/pull/1">https://github.com/antonic901/xbmc4xbox-redux/pull/1</a><br />- This is backport of [#2023](<a class="external" href="https://github.com/xbmc/xbmc/pull/2023">https://github.com/xbmc/xbmc/pull/2023</a>)<br />- More info can be found [here](<a class="external" href="https://forum.kodi.tv/showthread.php?tid=158812&pid=1389325#pid1389325">https://forum.kodi.tv/showthread.php?tid=158812&pid=1389325#pid1389325</a>)</p>
<blockquote>
<p>2013-04-06 Change to auto width for labels</p>
<p>using <width>auto</width> is now also supported.<br />this means specifying 'max=xx' is now optional.</p>
<p>git commit: [<a class="external" href="https://github.com/xbmc/xbmc/commit/996c...06c20e8d37](https://github.com/xbmc/xbmc/commit/996c64e0a8f98b1f3643461262103906c20e8d37)">https://github.com/xbmc/xbmc/commit/996c...06c20e8d37](https://github.com/xbmc/xbmc/commit/996c64e0a8f98b1f3643461262103906c20e8d37)</a><br />pull request: [2023](<a class="external" href="https://github.com/xbmc/xbmc/pull/2023">https://github.com/xbmc/xbmc/pull/2023</a>) (PR)<br />trac ticket: <a class="external" href="http://trac.xbmc.org/ticket/13887">http://trac.xbmc.org/ticket/13887</a></p>
</blockquote> XBMC4Xbox - Bug #365 (New): Propose for Weather Fixhttps://redmine.exotica.org.uk/issues/3652022-12-24T16:44:01Zantonic901
<p>Here is a fix for weather. I've implemented new API (weatherapi.com) and added inside CallPLugin method (GUIWeather.cpp) to pass also location index when calling plugin. This will allow plugin to fetch new weather when user change location from Weather window.</p> XBMC4Xbox - Bug #364 (New): TVDB scraper stopped workinghttps://redmine.exotica.org.uk/issues/3642020-04-08T10:24:15Zdandar3
<p>TVDB scraper stopped working again.</p>
<p>Issue reported here:<br /><a class="external" href="https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14364">https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14364</a></p>
<p>I've run a quick test myself and there's two things that I found.<br />1) thetvdb.com will redirect the HTTP into an HTTPS<br />2) it fails when unpacking the zip file.</p>
<p>Does XBMC4Xbox support HTTPS/SSL or does it fail silently providing the scraper with an invalid ZIP file that will fail to decompress?</p>
<pre>
10:41:56 M: 32382976 DEBUG: VideoInfoScanner: Found episode match f:\tv shows\the mentalist\the.mentalist.s02e01.640x360.avi (s2e1) [[Ss]([0-9]+)[][ ._-]*[Ee]([0-9]+)([^\\/]*)$]
10:41:56 M: 32387072 DEBUG: CurlFile::Open(D00E52AC) http://www.thetvdb.com/api/1D62F2F90030C444/series/82459/all/en.zip
...
10:41:56 M: 31993856 DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
10:41:56 M: 31993856 DEBUG: advapi32.dll fake function dllCryptReleaseContext() called
10:41:56 M: 31993856 DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
...
10:43:21 M: 33951744 ERROR: FileZip: extended local header, not supported!
10:34:21 M: 33951744 DEBUG: scraper: GetEpisodeList returned <episodeguide></episodeguide>
</pre> XBMC4Xbox - Bug #363 (New): TMDB scraper stopped workinghttps://redmine.exotica.org.uk/issues/3632020-04-08T09:16:00Zdandar3
<p>TMDB scraper stopped working again.</p>
<p>Issue discussed here:<br /><a class="external" href="https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14364">https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14364</a></p>
<p>Attaching proposed fix - inspired from <a href="https://kodi.tv/addon/movie-information/movie-database" class="external">TMDB scraper 5.1.10 (2019-11-25) for Kodi</a></p> XBMC4Xbox - Bug #362 (New): WebM playback issuehttps://redmine.exotica.org.uk/issues/3622020-02-19T12:06:39Zdandar3
<p>Issue reported by RextheC on forum:<br /><a class="external" href="https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14369">https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14369</a></p>
<p>3.6-DEV-<a class="changeset" title="updated: use own tmdb key (Kodi key was revoked)" href="https://redmine.exotica.org.uk/projects/xbmc4xbox/repository/xbmc4xbox/revisions/33032">r33032</a> (SVN:33032, compiler 1310)</p>
<p>xbmc.log attached.</p> XBMC4Xbox - Bug #361 (New): Weather - New data source requiredhttps://redmine.exotica.org.uk/issues/3612020-02-13T13:00:52Zdandar3
<p>Weather.com data feed is not longer available.</p>
<p><a class="external" href="http://wxdata.weather.com/">http://wxdata.weather.com/</a> --> "This service is deprecated as of 01/15/2020"</p>
<p><code>15:11:15 M: 33677312 INFO: WEATHER: Downloading weather<br />15:11:15 M: 33677312 DEBUG: CurlFile::Open(D02CD934) http://wxdata.weather.com/wxdata/weather/local/SPXX0085?cc=*&unit=m&dayf=7<br />15:11:15 M: 33603584 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://wxdata.weather.com<br />15:11:15 M: 33419264 INFO: WEATHER: Weather download successful<br />15:11:15 M: 33419264 ERROR: WEATHER: Unable to get data - invalid XML</code></p>
<p>Reported by hal9000 on forum:<br /><a class="external" href="https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14360">https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=14360</a></p> XBMC4Xbox - Bug #360 (New): HTTP API GetMediaLocation() issue with miniDLNA UPnP serverhttps://redmine.exotica.org.uk/issues/3602018-05-23T21:44:16Zdandar3
<p>Issues reported on this <a href="https://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=6&t=7602&sid=d40825e1f4f83ead084a6322e803a4ff" class="external">forum thread</a> with miniDLNA 1.2.1.<br />Also replicated by me with miniDLNA 1.0.22 on Seagate GoFlex Home NAS.</p>
<p>HTTP API GetMediaLocation() fails with the following error message:<br /><pre>
Error: invalid location, upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/
</pre></p>
<p>and in xbmc.log<br /><pre>
22:19:48 M: 36794368 DEBUG: HttpApi Start command: GetMediaLocation paras: GetMediaLocation; Music;upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/
22:19:48 M: 36794368 WARNING: CUtil::GetMatchingSource... no matching source found for [upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/]
</pre></p>
<p>This is apparently due to how UPnP URLs are stored internally as URL encoded (/1$4/ is effectively stored in memory as /1%244/) making the resource not able to being identified and matched when GetMediaLocation() function is called. I enabled temporarily some XBMC4Xbox logic showing the problem in the logs:</p>
<pre><code class="text syntaxhl" data-language="text">22:37:15 M: 39821312 DEBUG: HttpApi Start command: GetMediaLocation paras: GetMediaLocation; Music;upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/
22:37:15 M: 39821312 INFO: CUtil::GetMatchingSource, testing original path/name [upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/]
22:37:15 M: 39821312 INFO: CUtil::GetMatchingSource, testing for matching name [upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/]
22:37:15 M: 39821312 INFO: CUtil::GetMatchingSource, comparing name [GoFlex Home:UPNP-AV]
22:37:15 M: 39821312 DEBUG: CUtil::GetMatchingSource, testing url [upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/]
22:37:15 M: 39821312 DEBUG: CUtil::GetMatchingSource, comparing url [upnp://4d696e69-444c-164e-9d41-0010752d811c/1%244/]
Previous line repeats 1 times.
22:37:15 M: 39821312 DEBUG: CUtil::GetMatchingSource... no matching source found for [upnp://4d696e69-444c-164e-9d41-0010752d811c/1$4/]
</code></pre>
<p>Also noticed it is stored URL encoded not only in memory but also in Q:\UserData\sources.xml as well:<br /><pre><code class="xml syntaxhl" data-language="xml"> <span class="nt"><music></span>
...
<span class="nt"><source></span>
<span class="nt"><name></span>GoFlex Home:UPNP-AV<span class="nt"></name></span>
<span class="nt"><path</span> <span class="na">pathversion=</span><span class="s">"1"</span><span class="nt">></span>upnp://4d696e69-444c-164e-9d41-0010752d811c/1%244/<span class="nt"></path></span>
<span class="nt"></source></span>
<span class="nt"></music></span>
</code></pre></p>
<p>Temporarily patching CUtil::GetMatchingSource() in Util.cpp just to test things I was able to make it work correctly from the XBMC4XBox web interface.</p>
<pre><code class="c syntaxhl" data-language="c"><span class="nl">Index:</span> <span class="n">xbmc</span><span class="o">/</span><span class="n">Util</span><span class="p">.</span><span class="n">cpp</span>
<span class="o">===================================================================</span>
<span class="o">---</span> <span class="n">xbmc</span><span class="o">/</span><span class="n">Util</span><span class="p">.</span><span class="n">cpp</span> <span class="p">(</span><span class="n">revision</span> <span class="mi">33032</span><span class="p">)</span>
<span class="o">+++</span> <span class="n">xbmc</span><span class="o">/</span><span class="n">Util</span><span class="p">.</span><span class="n">cpp</span> <span class="p">(</span><span class="n">working</span> <span class="n">copy</span><span class="p">)</span>
<span class="err">@@</span> <span class="o">-</span><span class="mi">2696</span><span class="p">,</span><span class="mi">6</span> <span class="o">+</span><span class="mi">2696</span><span class="p">,</span><span class="mi">7</span> <span class="err">@@</span>
<span class="n">CURL</span> <span class="nf">urlShare</span><span class="p">(</span><span class="n">vecPaths</span><span class="p">[</span><span class="n">j</span><span class="p">]);</span>
<span class="n">urlShare</span><span class="p">.</span><span class="n">SetOptions</span><span class="p">(</span><span class="s">""</span><span class="p">);</span>
<span class="n">CStdString</span> <span class="n">strShare</span> <span class="o">=</span> <span class="n">urlShare</span><span class="p">.</span><span class="n">GetWithoutUserDetails</span><span class="p">();</span>
<span class="o">+</span> <span class="n">CURL</span><span class="o">::</span><span class="n">Decode</span><span class="p">(</span><span class="n">strShare</span><span class="p">);</span>
<span class="n">ForceForwardSlashes</span><span class="p">(</span><span class="n">strShare</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="n">URIUtils</span><span class="o">::</span><span class="n">HasSlashAtEnd</span><span class="p">(</span><span class="n">strShare</span><span class="p">))</span>
<span class="n">strShare</span> <span class="o">+=</span> <span class="s">"/"</span><span class="p">;</span>
</code></pre>
<p>But I think this should probably be best fixed somewhere upstream so that UPnP are always stored URL decoded internally, but not sure where and if any negative implications if changed.</p>
<p>This issue affects both XBMC4XBox web interface and XBMC4XBox Remote (Android).</p>
<p>Any thoughts / pointers are more than welcome.</p>
<p>Thank you,<br />Dan</p> XBMC4Xbox - Bug #358 (New): XBMC.PlayMedia() built-in > video playback resuming even when configu...https://redmine.exotica.org.uk/issues/3582016-06-28T23:40:41ZRocky5Johnconn1985@gmail.com
<p>"Settings > Video > Playback > Resume from where last stopped" - Set to No, doesn't seem to work as intended. Yes and Ask works fine, but No will still resume a video from where it was stopped/resume point was created.</p> XBMC4Xbox - Feature #357 (New): colordiffuse attribute for textureshttps://redmine.exotica.org.uk/issues/3572016-04-12T14:14:46Zbyronjujy42@gmail.com
<p>This is a colordiffuse attribute for individual textures:</p>
<p><code><br /><texture colordiffuse="FFFFAAFF">texture.png</texture><br /><texture colordiffuse="$VAR[colordiffuse]">texture.png</texture><br /><texture colordiffuse="$INFO[colordiffuse]">texture.png</texture><br /></code></p>
<p>Looks like this wouldn't take much effort on the part of someone familiar with the source code to patch, and seems necessarily in order to properly port more up to date skins from Kodi (eg skin.estuary). From Estuary (even after removing invalid windows for x4x) there are almost 400 instances of this attribute. Without this feature, porting skin.estuary accuarately (or any skin using this attribute) will be incredibly difficult or nearly impossible.</p>
<p>xbmc git commit: <a class="external" href="https://github.com/xbmc/xbmc/commit/20b8...5721e91d7f">https://github.com/xbmc/xbmc/commit/20b8...5721e91d7f</a><br />xbmc pull request: <a class="external" href="https://github.com/xbmc/xbmc/pull/1772">https://github.com/xbmc/xbmc/pull/1772</a></p> XBMC4Xbox - Bug #356 (New): Confluence Lite items count overlappinghttps://redmine.exotica.org.uk/issues/3562016-02-28T09:56:15Ztim619
<p>In the image attached you can see that the items count on this gui element overlapps.<br />In the Confluence skin we have nearly the same container and there is no overlapping.<br />I think I saw this also on another place (not only weather) were we had the same container and the same<br />overlapping.</p>