Mercurial > minori
annotate src/main.cc @ 118:39521c47c7a3
*: another huge megacommit, SORRY
The torrents page works a lot better now
Added the edit option to the anime list right click menu
Vectorized currently playing files
Available player and extensions are now loaded at runtime
from files in (dotpath)/players.json and (dotpath)/extensions.json
These paths are not permanent and will likely be moved to
(dotpath)/recognition
...
...
...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 23:40:54 -0500 |
parents | 2004b41d4a59 |
children | 6fdf0632c003 |
rev | line source |
---|---|
10 | 1 #include "core/session.h" |
2 #include "gui/window.h" | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
108
diff
changeset
|
3 #include "track/types.h" |
10 | 4 #include <QApplication> |
46 | 5 #include <QStyleFactory> |
108 | 6 #include <QTranslator> |
98
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
7 #include <QLocale> |
10 | 8 |
9 Session session; | |
10 | |
11 int main(int argc, char** argv) { | |
12 QApplication app(argc, argv); | |
13 | |
14 session.config.Load(); | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
108
diff
changeset
|
15 Track::Types::LoadPlayers(session.recognition.players); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
108
diff
changeset
|
16 Track::Types::LoadExtensions(session.recognition.extensions); |
10 | 17 |
18 MainWindow window; | |
19 | |
20 window.resize(941, 750); | |
11 | 21 window.setWindowTitle("Minori"); |
10 | 22 window.show(); |
23 | |
24 return app.exec(); | |
46 | 25 } |