I'm trying to use extra dates / custom icons with this app but it's not working; could you please take a look at my config and point out what's wrong.
Obviously I'm missing something...
Code: Select all
eneco-001-037311:~# cd /qmf/qml/apps/wastecollection
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# ls -l
-rw-r--r-- 1 root root 5417 Mar 27 18:26 Changelog.txt
-rw-r--r-- 1 root root 1797 Mar 27 18:26 EditTextLabel4421.qml
-rw-r--r-- 1 root root 49816 Mar 27 18:26 WastecollectionApp.qml
-rw-r--r-- 1 root root 17513 Mar 27 18:26 WastecollectionConfigurationScreen.qml
-rw-r--r-- 1 root root 1179 Mar 27 18:26 WastecollectionListDatesScreen.qml
-rw-r--r-- 1 root root 5075 Mar 27 18:26 WastecollectionTile.qml
drwxrwxr-x 2 root root 1424 Aug 9 10:45 drawables
drwxrwxr-x 2 root root 304 Mar 29 05:32 lang
-rw-r--r-- 1 root root 126 Mar 27 18:26 qmldir
-rw-r--r-- 1 root root 209 Aug 10 11:01 userSettings.json
-rw-r--r-- 1 root root 3 Mar 27 18:26 version.txt
-rw-r--r-- 1 root root 229 Mar 27 18:26 wastecollection.js
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# cat userSettings.json
{"Afvalverwerker":"1","Postcode":"xxxxxx","Huisnummer":"xx","Straatnummer":"0","ICSnummer":"0","DisplayIconVanafUur":18,"ExtraDatumsFile":"file:///root/waste.txt","ExtraDatumsIconsFolder":"file:///root/icons/"}
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# vi userSettings.json
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# cat /root/waste.txt
2018-08-11,A
2018-01-12,A
2018-01-13,A
2018-01-15,A
2018-01-26,C
2018-01-28,A
2018-02-03,A
2018-02-05,A
2018-03-22,A
2018-04-06,A
2018-04-14,A
2018-04-24,A
2018-04-26,A
2018-04-28,A
2018-05-13,D
2018-06-20,A
2018-06-27,C
2018-07-27,A
2018-09-19,A
2018-09-30,C
2018-10-13,A
2018-10-23,A
2018-10-28,C
2018-12-05,A
2018-12-08,A
2018-12-22,A
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# ls -l /root/icons/
-rw-r--r-- 1 root root 8227 Aug 9 10:16 A.png
-rw-r--r-- 1 root root 5850 Aug 9 10:16 B.png
-rw-r--r-- 1 root root 8693 Aug 9 10:16 C.png
-rw-r--r-- 1 root root 7355 Aug 9 10:16 D.png
-rw-r--r-- 1 root root 7492 Aug 9 10:16 Metal.png
-rw-r--r-- 1 root root 73 Aug 9 10:48 iconLabels.txt
eneco-001-037311:/qmf/qml/apps/wastecollection-3.6# cat /root/icons/iconLabels.txt
{ "A": "Verjaardag", "B": "Afspraak", "C": "Trouwdag", "D": "Trouwdag" }