Release Kodi Screen Reader (Text to speech)
(2015-12-30, 21:09)ruuk Wrote:
(2015-12-30, 20:51)leonardder Wrote:
ruuk Wrote:On the other hand, the original idea of having the flag be a dummy addon was to have it be outside the addon. This would allow the maintainer of the build to drop new versions in without having to modify anything. So perhaps the enable flag could still be external to the addon. And it doesn't have to be a dummy addon, it just needs to be in a place the addon can reliably find it no matter what platform it's installed on.
As a package maintainer, it is perfectly possible to add a package specific file with a flag to the addons directory. I don't get entirely why that file should be outside of the addons structure for that.
I may be missing something but what I meant was, if the flag is in the addon (ie. somewhere in the service.xbmc.tts directory) then when you replace that directory you have to re-add that flag. If it is outside that directory, this would not be necessary.

The current process for package building for OSMC is as follows in a build shell script:

1. download the addon source
2. extract it to files/usr/share/kodi/addons/service.xbmc.tts
3. Run dpkg_build files/ package.deb

So, it is as simple as inserting a step after 2, echo "something" > files/usr/share/kodi/addons/service.xbmc.tts/file. Than, the file with the flag is packaged with the addon. When a new version is installed using a replaced package, that package will also contain the new flag. When someone deletes the package, the flag also is removed from the system.

Only thing I do not yet know which might object this above point is when kodi updates the addon. I don't know whether kodi is allowed to update addons in the special??xbmc folder. If so, does it replace the service.xbmc.tts folder entirely?
Reply


Messages In This Thread
Kodi Screen Reader (Text to speech) - by ruuk - 2014-06-02, 00:15
v0.0.67 - by ruuk - 2014-06-02, 22:37
v0.0.68 - by ruuk - 2014-06-03, 23:14
v0.0.69 - by ruuk - 2014-06-05, 18:38
v0.0.70 - by ruuk - 2014-06-08, 02:30
v0.0.71 - by ruuk - 2014-06-09, 01:35
v0.0.72 - by ruuk - 2014-06-11, 02:06
v0.0.73 - by ruuk - 2014-06-12, 20:20
v0.0.75 - by ruuk - 2014-06-17, 02:16
v0.0.75 - by ruuk - 2014-06-18, 02:12
v0.0.76 - by ruuk - 2014-06-23, 01:37
v0.0.77 - by ruuk - 2014-06-30, 00:19
v0.0.78 - by ruuk - 2014-07-01, 20:50
v0.0.79 - by ruuk - 2014-07-06, 01:30
speech.server v0.0.7 - by ruuk - 2014-06-11, 22:54
v0.0.80 - by ruuk - 2014-07-06, 19:42
v0.0.81 - by ruuk - 2014-07-07, 19:35
v0.0.82 - by ruuk - 2014-07-11, 19:40
v0.0.83 - by ruuk - 2014-08-14, 00:31
v0.0.84 - by ruuk - 2014-10-26, 23:26
v0.0.85 - by ruuk - 2014-11-01, 21:54
v0.0.86 - by ruuk - 2014-12-16, 20:52
v0.0.87b - by ruuk - 2014-12-23, 01:09
v0.0.88b - by ruuk - 2014-12-23, 02:18
v0.1.0b - by ruuk - 2014-12-25, 21:12
v0.1.1b - by ruuk - 2014-12-26, 21:26
v0.1.2 - by ruuk - 2015-02-28, 02:12
v1.0.0 - by ruuk - 2015-04-06, 19:38
v1.0.1 - by ruuk - 2015-04-25, 19:14
v1.0.2 - by ruuk - 2015-06-28, 01:18
v1.0.3 - by ruuk - 2015-09-07, 23:09
v1.0.4 - by ruuk - 2015-10-02, 19:43
v1.0.5 - by ruuk - 2015-10-06, 20:53
v1.0.6 - by ruuk - 2016-05-15, 19:02
v1.0.7 - by ruuk - 2017-07-16, 08:09
v1.0.8 - by ruuk - 2017-11-12, 09:59
v1.0.6b1 - by ruuk - 2016-01-02, 22:20
v1.0.6b2 - by ruuk - 2016-01-25, 19:12
Downloads Page Fixed - by ruuk - 2014-12-22, 21:17
Kodi Screen Reader (Text to speech) - by ruuk - 2015-11-11, 21:00
RE: Kodi Screen Reader (Text to speech) - by leonardder - 2015-12-30, 21:21
Kodi Screen Reader (Text to speech) - by ruuk - 2017-07-14, 23:08
Kodi Screen Reader (Text to speech) - by ruuk - 2017-11-18, 18:41
Kodi Screen Reader (Text to speech) - by ruuk - 2017-11-18, 21:29
Logout Mark Read Team Forum Stats Members Help
Kodi Screen Reader (Text to speech)10