Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,10 @@ GetVideoMetadata(const char *path, const char *name)
xasprintf(&m.mime, "video/x-matroska");
else if( strcmp(ctx->iformat->name, "flv") == 0 )
xasprintf(&m.mime, "video/x-flv");
else if( strcmp(ctx->iformat->name, "rm") == 0 )
xasprintf(&m.mime, "application/vnd.rn-realmedia");
else if( strcmp(ctx->iformat->name, "rmvb") == 0 )
xasprintf(&m.mime, "application/vnd.rn-realmedia-vbr");
if( m.mime )
goto video_no_dlna;

Expand Down Expand Up @@ -1538,6 +1542,10 @@ GetVideoMetadata(const char *path, const char *name)
xasprintf(&m.mime, "video/x-matroska");
else if( strcmp(ctx->iformat->name, "flv") == 0 )
xasprintf(&m.mime, "video/x-flv");
else if( strcmp(ctx->iformat->name, "rm") == 0 )
xasprintf(&m.mime, "application/vnd.rn-realmedia");
else if( strcmp(ctx->iformat->name, "rmvb") == 0 )
xasprintf(&m.mime, "application/vnd.rn-realmedia-vbr");
else
DPRINTF(E_WARN, L_METADATA, "%s: Unhandled format: %s\n", path, ctx->iformat->name);
}
Expand Down
128 changes: 128 additions & 0 deletions po/hu.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# MiniDLNA translation template file
# Justin Maggard <jmaggard@users.sourceforge.net>, 2010.
#
# MiniDLNA media server
# Copyright (C) 2010 NETGEAR
#
# This file is part of MiniDLNA.
#
# MiniDLNA is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# MiniDLNA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
#
msgid ""
msgstr ""
"Project-Id-Version: minidlna 1.1.0\n"
"Report-Msgid-Bugs-To: jmaggard@users.sourceforge.net\n"
"POT-Creation-Date: 2010-07-19 10:50-0700\n"
"PO-Revision-Date: 2022-06-06 16:34+0200\n"
"Last-Translator: ViBE <vibe@protonmail.com>\n"
"Language-Team: Hungarian <vibe@protonmail.com>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Generator: Gtranslator 3.36.0\n"

#: scanner.c:165
msgid "Unknown Date"
msgstr "Ismeretlen dátum"

#: scanner.c:167
msgid "Unknown Camera"
msgstr "Ismeretlen kamera"

#: scanner.c:277
msgid "- All Albums -"
msgstr "- Minden album -"

#: scanner.c:285 scanner.c:292 scanner.c:296
msgid "Unknown Album"
msgstr "Ismeretlen album"

#: scanner.c:318
msgid "- All Artists -"
msgstr "- Minden előadó -"

#: scanner.c:326 scanner.c:332 scanner.c:336
msgid "Unknown Artist"
msgstr "Ismeretlen előadó"

#: scanner.c:528
msgid "Music"
msgstr "Zene"

#: scanner.c:529
msgid "All Music"
msgstr "Minden zene"

#: scanner.c:530
msgid "Genre"
msgstr "Műfaj"

#: scanner.c:531
msgid "Artist"
msgstr "Előadó"

#: scanner.c:532
msgid "Album"
msgstr "Album"

#: scanner.c:533 scanner.c:538 scanner.c:544
msgid "Folders"
msgstr "Könyvtárak"

#: scanner.c:534
msgid "Playlists"
msgstr "Lejátszási listák"

#: scanner.c:598
msgid "Recently Added"
msgstr "Nemrég hozzáadva"

#: scanner.c:536
msgid "Video"
msgstr "Videó"

#: scanner.c:537
msgid "All Video"
msgstr "Minden videó"

#: scanner.c:540
msgid "Pictures"
msgstr "Kép"

#: scanner.c:541
msgid "All Pictures"
msgstr "Minden kép"

#: scanner.c:542
msgid "Date Taken"
msgstr "Létrehozva"

#: scanner.c:543
msgid "Camera"
msgstr "Kamera"

#: scanner.c:546
msgid "Browse Folders"
msgstr "Könyvtárak tallózása"

#: scanner.c:690
#, c-format
msgid "Scanning %s\n"
msgstr "%s elemzése\n"

#: scanner.c:766
#, c-format
msgid "Scanning %s finished (%llu files)!\n"
msgstr "%s elemzése befejeződött (%llu fájl található)!\n"
5 changes: 4 additions & 1 deletion upnpglobalvars.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@
"http-get:*:audio/x-wav:*," \
"http-get:*:audio/x-flac:*," \
"http-get:*:audio/x-dsd:*," \
"http-get:*:application/ogg:*"
"http-get:*:application/ogg:*" \
"http-get:*:application/vnd.rn-realmedia:*" \
"http-get:*:application/vnd.rn-realmedia-vbr:*" \
"http-get:*:video/webm:*"

#define DLNA_FLAG_DLNA_V1_5 0x00100000
#define DLNA_FLAG_HTTP_STALLING 0x00200000
Expand Down
4 changes: 3 additions & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ is_video(const char * file)
#ifdef TIVO_SUPPORT
ends_with(file, ".TiVo") ||
#endif
ends_with(file, ".mov") || ends_with(file, ".3gp"));
ends_with(file, ".mov") || ends_with(file, ".3gp") ||
ends_with(file, ".rm") || ends_with(file, ".rmvb") ||
ends_with(file, ".webm"));
}

int
Expand Down