Re: [vdr] mp3 plugin for vdr-2.1.4

2014-02-14 Thread Pertti Kosunen

On 13.2.2014 23:36, Peter Münster wrote:

Could anybody help please to make the plugin work with the latest vdr
version?


Try attached patch.
diff -ru mp3-original/decoder.c mp3/decoder.c
--- mp3-original/decoder.c  2014-02-14 10:36:30.782671000 +0200
+++ mp3/decoder.c   2014-02-14 10:18:32.749324540 +0200
@@ -632,7 +632,11 @@
 
 char *cInfoCache::CacheFile(void)
 {
+#if APIVERSNUM  20101
+  return AddPath(cachedir?cachedir:cVideoDirectory::Name(),CACHEFILENAME);
+#else
   return AddPath(cachedir?cachedir:VideoDirectory,CACHEFILENAME);
+#endif
 }
 
 void cInfoCache::Save(bool force)
diff -ru mp3-original/player-mplayer.c mp3/player-mplayer.c
--- mp3-original/player-mplayer.c   2014-02-14 10:36:30.782671000 +0200
+++ mp3/player-mplayer.c2014-02-14 10:26:33.827716456 +0200
@@ -185,7 +185,11 @@
 if(MPlayerSetup.ResumeMode==1 || 
(access(s,W_OK)  (errno==EACCES || errno==EROFS))) {
   global=true;
+#if APIVERSNUM  20101
+  
resfile=AddPath(globalResumeDir?globalResumeDir:cVideoDirectory::Name(),GLOBAL_RESUME_FILE);
+#else
   
resfile=AddPath(globalResumeDir?globalResumeDir:VideoDirectory,GLOBAL_RESUME_FILE);
+#endif
   d(printf(resume: using global file\n))
   }
 else {
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mp3 plugin for vdr-2.1.4

2014-02-14 Thread Peter Münster
On Fri, Feb 14 2014, Pertti Kosunen wrote:

 On 13.2.2014 23:36, Peter Münster wrote:
 Could anybody help please to make the plugin work with the latest vdr
 version?

 Try attached patch.

Thanks, it works! Have you already sent it to the plugin developer, or
should I do it?

-- 
   Peter


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mp3 plugin for vdr-2.1.4

2014-02-14 Thread Pertti Kosunen

On 14.2.2014 13:02, Peter Münster wrote:

Thanks, it works! Have you already sent it to the plugin developer, or
should I do it?


No i have not, you can send it. (I am not coder and 100% sure if it is 
correct way to do it, just copied idea from other patches.)


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] softhddevice and alsa dmixer

2014-02-14 Thread Poubelle

it works
thank you
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr