Skip to content

Commit e80501b

Browse files
[service.autoplaymovies] 1.0.6
1 parent 1b1e3de commit e80501b

File tree

9 files changed

+694
-0
lines changed

9 files changed

+694
-0
lines changed

service.autoplaymovies/LICENSE.txt

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
GNU GENERAL PUBLIC LICENSE
2+
Version 2, June 1991
3+
4+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6+
Everyone is permitted to copy and distribute verbatim copies
7+
of this license document, but changing it is not allowed.
8+
9+
Preamble
10+
11+
The licenses for most software are designed to take away your
12+
freedom to share and change it. By contrast, the GNU General Public
13+
License is intended to guarantee your freedom to share and change free
14+
software--to make sure the software is free for all its users. This
15+
General Public License applies to most of the Free Software
16+
Foundation's software and to any other program whose authors commit to
17+
using it. (Some other Free Software Foundation software is covered by
18+
the GNU Library General Public License instead.) You can apply it to
19+
your programs, too.
20+
21+
When we speak of free software, we are referring to freedom, not
22+
price. Our General Public Licenses are designed to make sure that you
23+
have the freedom to distribute copies of free software (and charge for
24+
this service if you wish), that you receive source code or can get it
25+
if you want it, that you can change the software or use pieces of it
26+
in new free programs; and that you know you can do these things.
27+
28+
To protect your rights, we need to make restrictions that forbid
29+
anyone to deny you these rights or to ask you to surrender the rights.
30+
These restrictions translate to certain responsibilities for you if you
31+
distribute copies of the software, or if you modify it.
32+
33+
For example, if you distribute copies of such a program, whether
34+
gratis or for a fee, you must give the recipients all the rights that
35+
you have. You must make sure that they, too, receive or can get the
36+
source code. And you must show them these terms so they know their
37+
rights.
38+
39+
We protect your rights with two steps: (1) copyright the software, and
40+
(2) offer you this license which gives you legal permission to copy,
41+
distribute and/or modify the software.
42+
43+
For the developers' and authors' protection, the GPL clearly explains
44+
that there is no warranty for this free software. For both users' and
45+
authors' sake, the GPL requires that modified versions be marked as
46+
changed, so that their problems will not be attributed erroneously to
47+
authors of previous versions.
48+
49+
Finally, any free program is threatened constantly by software
50+
patents. We wish to avoid the danger that redistributors of a free
51+
program will individually obtain patent licenses, in effect making the
52+
program proprietary. To prevent this, we have made it clear that any
53+
patent must be licensed for everyone's free use or not licensed at all.
54+
55+
The precise terms and conditions for copying, distribution and
56+
modification follow.
57+
58+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
59+
60+
0. This License applies to any program or other work which contains
61+
a notice placed by the copyright holder saying it may be distributed
62+
under the terms of this General Public License. The "Program", below,
63+
refers to any such program or work, and a "work based on the Program"
64+
means either the Program or any derivative work under copyright law:
65+
that is to say, a work containing the Program or a portion of it,
66+
either verbatim or with modifications and/or translated into another
67+
language. (Hereinafter, translation is included without limitation in
68+
the term "modification".) Each licensee is addressed as "you".
69+
70+
Activities other than copying, distribution and modification are not
71+
covered by this License; they are outside its scope. The act of
72+
running the Program is not restricted, and the output from the Program
73+
is covered only if its contents constitute a work based on the
74+
Program (independent of having been made by running the Program).
75+
Whether that is true depends on what the Program does.
76+
77+
1. You may copy and distribute verbatim copies of the Program's
78+
source code as you receive it, in any medium, provided that you
79+
conspicuously and appropriately publish on each copy an appropriate
80+
copyright notice and disclaimer of warranty; keep intact all the
81+
notices that refer to this License and to the absence of any warranty;
82+
and give any other recipients of the Program a copy of this License
83+
along with the Program.
84+
85+
2. You may modify your copy or copies of the Program or any portion
86+
of it, thus forming a work based on the Program, and copy and
87+
distribute such modifications or work under the terms of Section 1
88+
above, provided that you also meet all of these conditions:
89+
90+
a) You must cause the modified files to carry prominent notices
91+
stating that you changed the files and the date of any change.
92+
93+
b) You must cause any work that you distribute or publish, that in
94+
whole or in part contains or is derived from the Program or any
95+
part thereof, to be licensed as a whole at no charge to all third
96+
parties under the terms of this License.
97+
98+
c) If the modified program normally reads commands interactively
99+
when run, you must cause it, when started running for such
100+
interactive use in the most ordinary way, to print or display an
101+
announcement including an appropriate copyright notice and a
102+
notice that there is no warranty (or else, saying that you provide
103+
a warranty) and that users may redistribute the program under
104+
these conditions, and telling the user how to view a copy of this
105+
License. (Exception: if the Program itself is interactive but
106+
does not normally print such an announcement, your work based on
107+
the Program is not required to print an announcement.)
108+
109+
3. You may copy and distribute the Program (or a work based on it,
110+
under Section 2) in object code or executable form under the terms of
111+
Sections 1 and 2 above provided that you also do one of the following:
112+
113+
a) Accompany it with the complete corresponding machine-readable
114+
source code, which must be distributed under the terms of Sections
115+
1 and 2 above on a medium customarily used for software interchange; or,
116+
117+
b) Accompany it with a written offer, valid for at least three
118+
years, to give any third party, for a charge no more than your
119+
cost of physically performing source distribution, a complete
120+
machine-readable copy of the corresponding source code, to be
121+
distributed under the terms of Sections 1 and 2 above on a medium
122+
customarily used for software interchange; or,
123+
124+
c) Accompany it with the information you received as to the offer
125+
to distribute corresponding source code. (This alternative is
126+
allowed only for noncommercial distribution and only if you
127+
received the program in object code or executable form with such
128+
an offer, in accord with Subsection b above.)
129+
130+
4. You may not copy, modify, sublicense, or distribute the Program
131+
except as expressly provided under this License. Any attempt otherwise
132+
to copy, modify, sublicense or distribute the Program is void, and will
133+
automatically terminate your rights under this License. However,
134+
parties who have received copies, or rights, from you under this License
135+
will not have their licenses terminated so long as such parties remain
136+
in full compliance.
137+
138+
5. You are not required to accept this License, since you have not
139+
signed it. However, nothing else grants you permission to modify or
140+
distribute the Program or its derivative works. These actions are
141+
prohibited by law if you do not accept this License. Therefore, by
142+
modifying or distributing the Program (or any work based on the
143+
Program), you indicate your acceptance of this License to do so, and
144+
all its terms and conditions for copying, distributing or modifying
145+
the Program or works based on it.
146+
147+
6. Each time you redistribute the Program (or any work based on the
148+
Program), the recipient automatically receives a license from the
149+
original licensor to copy, distribute or modify the Program subject to
150+
these terms and conditions. You may not impose any further restrictions
151+
on the recipients' exercise of the rights granted herein. You are not
152+
responsible for enforcing compliance by third parties to this License.
153+
154+
7. If, as a consequence of a court judgment or allegation of patent
155+
infringement or for any other reason (not limited to patent issues),
156+
conditions are imposed on you (whether by court order, agreement or
157+
otherwise) that contradict the conditions of this License, they do not
158+
excuse you from the conditions of this License. If you cannot
159+
distribute so as to satisfy simultaneously your obligations under this
160+
License and any other pertinent obligations, then as a consequence you
161+
may not distribute the Program at all. For example, if a patent license
162+
would not permit royalty-free redistribution of the Program by all
163+
those who receive copies directly or indirectly through you, then the
164+
only way you could satisfy both it and this License would be to refrain
165+
entirely from distribution of the Program.
166+
167+
8. If the distribution and/or use of the Program is restricted in
168+
certain countries either by patents or by copyrighted interfaces, the
169+
original copyright holder who places the Program under this License may
170+
add an explicit geographical distribution limitation excluding those
171+
countries, so that distribution is permitted only in or among countries
172+
not thus excluded. In such case, this License incorporates the
173+
limitation as if written in the body of this License.
174+
175+
9. The Free Software Foundation may publish revised and/or new versions
176+
of the General Public License from time to time. Such new versions will
177+
be similar in spirit to the present version, but may differ in detail to
178+
address new problems or concerns.
179+
180+
10. If you wish to incorporate parts of the Program into other free
181+
programs whose distribution conditions are different, write to the author
182+
to ask for permission. For software which is copyrighted by the Free
183+
Software Foundation, write to the Free Software Foundation; we sometimes
184+
make exceptions for this. Our decision will be guided by the two goals
185+
of preserving the free status of all derivatives of our free software and
186+
of promoting the sharing and reuse of software generally.
187+
188+
NO WARRANTY
189+
190+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
191+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
192+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
193+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
194+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
195+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
196+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
197+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
198+
REPAIR OR CORRECTION.
199+
200+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
201+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
202+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
203+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
204+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
205+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
206+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
207+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
208+
POSSIBILITY OF SUCH DAMAGES.
209+
210+
END OF TERMS AND CONDITIONS

service.autoplaymovies/addon.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<addon id="service.autoplaymovies"
3+
name="Autoplay Movies (Folder Loop)"
4+
version="1.0.6"
5+
provider-name="Michal Kofron">
6+
<requires>
7+
<import addon="xbmc.python" version="3.0.0"/>
8+
</requires>
9+
10+
<extension point="xbmc.service"
11+
library="resources/lib/service.py"
12+
start="startup"/>
13+
14+
<extension point="xbmc.addon.metadata">
15+
<summary lang="en_GB">Autoplay videos from a folder on Kodi startup</summary>
16+
<summary lang="cs_CZ">Automatické přehrávání videí ze složky po startu Kodi</summary>
17+
18+
<description lang="en_GB">On Kodi startup, the add-on loads videos from a selected folder and starts an endless playback loop.</description>
19+
<description lang="cs_CZ">Po startu Kodi, doplněk načte videa ze zvolené složky a spustí nekonečnou smyčku přehrávání.</description>
20+
21+
<disclaimer lang="en_GB"></disclaimer>
22+
<disclaimer lang="cs_CZ"></disclaimer>
23+
24+
<platform>all</platform>
25+
<license>GPL-2.0-or-later</license>
26+
<source>https://github.com/internetvpraze-creator/service.autoplaymovies</source>
27+
28+
<assets>
29+
<icon>resources/icon.png</icon>
30+
<fanart>resources/fanart.jpg</fanart>
31+
</assets>
32+
33+
<news lang="en_GB">
34+
v1.0.6
35+
- Fixed a Python syntax error in service.py.
36+
- Added a user dialog and opened settings when the configured video folder is missing or contains no supported videos.
37+
38+
v1.0.5
39+
- Add configurable folder selection and optional startup overlay text.
40+
- Various metadata and settings-format fixes for official repo submission.
41+
</news>
42+
<news lang="cs_CZ">
43+
v1.0.6
44+
- Opravena Python syntaxe v service.py.
45+
- Při chybějící složce nebo prázdném adresáři se nově zobrazí dialog a otevře nastavení doplňku.
46+
47+
v1.0.5
48+
- Přidán výběr složky s videi a volitelné zobrazení textu při startu.
49+
- Opravy metadat a nastavení pro kompatibilitu s oficiálním repozitářem.
50+
</news>
51+
</extension>
52+
</addon>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
1.0.6
2+
- Fixed a Python syntax error in service.py.
3+
- Show a dialog and open add-on settings when the configured folder is missing or contains no supported videos.
4+
5+
1.0.5
6+
- Add configurable folder selection and optional startup overlay text.
7+
- Metadata and settings format fixes for official repo submission.
8+
9+
1.0.4
10+
- Updated description text.
11+
12+
1.0.3
13+
- Added settings and overlay toggle.
14+
15+
1.0.2
16+
- Added icon and fanart.
17+
18+
1.0.1
19+
- Initial public release.
39.5 KB
Loading
19.3 KB
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: service.autoplaymovies\n"
4+
"Report-Msgid-Bugs-To: \n"
5+
"POT-Creation-Date: 2026-03-13 00:00+0000\n"
6+
"PO-Revision-Date: 2026-03-13 00:00+0000\n"
7+
"Last-Translator: \n"
8+
"Language-Team: \n"
9+
"Language: cs_CZ\n"
10+
"MIME-Version: 1.0\n"
11+
"Content-Type: text/plain; charset=UTF-8\n"
12+
"Content-Transfer-Encoding: 8bit\n"
13+
14+
msgctxt "#32000"
15+
msgid "Playback"
16+
msgstr "Přehrávání"
17+
18+
msgctxt "#32001"
19+
msgid "Video folder"
20+
msgstr "Složka s videi"
21+
22+
msgctxt "#32002"
23+
msgid "Show startup overlay text"
24+
msgstr "Zobrazit text při startu"
25+
26+
msgctxt "#32003"
27+
msgid "Overlay text"
28+
msgstr "Text"
29+
30+
msgctxt "#32004"
31+
msgid "Overlay duration (seconds)"
32+
msgstr "Doba zobrazení (sekundy)"
33+
34+
msgctxt "#32005"
35+
msgid "Configured video folder was not found. Please select a valid folder in settings."
36+
msgstr "Nastavená složka s videi nebyla nalezena. V nastavení prosím vyberte platnou složku."
37+
38+
msgctxt "#32006"
39+
msgid "No supported video files were found in the selected folder. Please choose a different folder in settings."
40+
msgstr "Ve vybrané složce nebyla nalezena žádná podporovaná videa. V nastavení prosím vyberte jinou složku."
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: service.autoplaymovies\n"
4+
"Report-Msgid-Bugs-To: \n"
5+
"POT-Creation-Date: 2026-03-13 00:00+0000\n"
6+
"PO-Revision-Date: 2026-03-13 00:00+0000\n"
7+
"Last-Translator: \n"
8+
"Language-Team: \n"
9+
"Language: en_GB\n"
10+
"MIME-Version: 1.0\n"
11+
"Content-Type: text/plain; charset=UTF-8\n"
12+
"Content-Transfer-Encoding: 8bit\n"
13+
14+
msgctxt "#32000"
15+
msgid "Playback"
16+
msgstr "Playback"
17+
18+
msgctxt "#32001"
19+
msgid "Video folder"
20+
msgstr "Video folder"
21+
22+
msgctxt "#32002"
23+
msgid "Show startup overlay text"
24+
msgstr "Show startup overlay text"
25+
26+
msgctxt "#32003"
27+
msgid "Overlay text"
28+
msgstr "Overlay text"
29+
30+
msgctxt "#32004"
31+
msgid "Overlay duration (seconds)"
32+
msgstr "Overlay duration (seconds)"
33+
34+
msgctxt "#32005"
35+
msgid "Configured video folder was not found. Please select a valid folder in settings."
36+
msgstr "Configured video folder was not found. Please select a valid folder in settings."
37+
38+
msgctxt "#32006"
39+
msgid "No supported video files were found in the selected folder. Please choose a different folder in settings."
40+
msgstr "No supported video files were found in the selected folder. Please choose a different folder in settings."

0 commit comments

Comments
 (0)