[RELEASE] Texture Cache Maintenance utility
It's partially correct. It looks to be encoding the parenthesis correctly (and ampersands from another movie I looked at ) but it is not doing the commas where as when xbmc originally encoded them it encoded the commas as well.



Code:
ORIGINAL EXAMPLE OF URL based off of file name:
mysql> select c22 from movieview where idFile = 123;
+---------------------------------------------------------------------------------------------------------------------------------------------+
| c22                                                                                                                                         |
+---------------------------------------------------------------------------------------------------------------------------------------------+
| davs://xxxx/base/Media/Videos/Movies/Lock%2c.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/ |
+---------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)


after with test py:

->$ cat try.dat | ./tbeta.py testset
### DRY RUN ###                                        
{
  "params": {
    "art": {
      "fanart": "davs://xxxx/base/Media/Videos/Movies/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264-fanart.jpg",
      "poster": "davs://xxxx/base/Media/Videos/Movies/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/Lock,.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264-poster.jpg"
    },
    "movieid": 123
  },
  "method": "VideoLibrary.SetMovieDetails"
}
### DRY RUN ###

->$  ./texturecache.py j movies | grep Lock
    "file": "davs://xxxx/base/Media/Videos/Movies/Lock%2c.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264/Lock%2c.Stock.and.Two.Smoking.Barrels.%281998%29.720p.bluray.h264.mp4",
    "label": "Lock, Stock and Two Smoking Barrels",
    "title": "Lock, Stock and Two Smoking Barrels"
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by calisro - 2015-08-13, 21:37
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617