Opened 17 years ago
Closed 17 years ago
#5908 closed patch (duplicate)
mythvideo can`t handle `'s in video files when using external player
| Reported by: | Owned by: | Anduin Withers | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythvideo | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
i noticed this bug with i had trouble playing some files where was used instead of ' for words like didnt
patching it was pretty simple
Index: mythplugins/mythvideo/mythvideo/metadata.cpp
===================================================================
--- mythplugins/mythvideo/mythvideo/metadata.cpp (revision 18906)
+++ mythplugins/mythvideo/mythvideo/metadata.cpp (working copy)
@@ -834,7 +834,7 @@
QString handler = getPlayer(item);
QString esc_fname =
- QString(item->Filename()).replace(QRegExp("\""), "\\\"");
+ QString(item->Filename()).replace(QRegExp("\""), "\\\"").replace(QRegExp("`"), "\\`");
QString arg = QString("\"%1\"").arg(esc_fname);
QString command = "";
Change History (3)
Note:
See TracTickets
for help on using tickets.

A duplicate of #5009