FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Feature Requests › path in the log files
- This topic has 0 replies, 1 voice, and was last updated 16 years, 2 months ago by ghedo.
-
AuthorPosts
-
07/03/2008 at 5:41 PM #2277ghedoParticipant
think will usefull have in the log file the path of the mp3 played.
i have 24 different folders (and 24 mp3_dir rows in the config files) whre my mpe are stored.
when there is a problem with a song is not easy to track where the file is n the file system.here a (small) proposal of a patch to add the folder
— ff-plugins.c 2008-03-07 18:30:51.000000000 +0100
+++ /tmp/mt-daapd-svn-1696/src/ff-plugins.c 2007-10-29 07:02:27.000000000 +0100
@@ -330,8 +330,8 @@
pmp3->title,pmp3->id);DPRINTF(E_WARN,L_WS,
– “Session %d: Streaming file ‘%s’ from folder ‘%s’ to %s (offset %ld)n”,
– session,pmp3->fname , pmp3->path, ws_hostname(pwsc),(long)offset);
+ “Session %d: Streaming file ‘%s’ to %s (offset %ld)n”,
+ session,pmp3->fname, ws_hostname(pwsc),(long)offset);/* estimate the real length of this thing */
bytes_copied = plugin_ssc_transcode(pwsc,pmp3,offset,1);
@@ -399,8 +399,8 @@config_set_status(pwsc,session,”Streaming ‘%s’ (id %d)”,
pmp3->title, pmp3->id);
– DPRINTF(E_WARN,L_WS,”Session %d: Streaming file ‘%s’ from folder ‘%s’ to %s (offset %d)n”,
– session,pmp3->fname, pmp3->path, ws_hostname(pwsc),(long)offset);
+ DPRINTF(E_WARN,L_WS,”Session %d: Streaming file ‘%s’ to %s (offset %d)n”,
+ session,pmp3->fname, ws_hostname(pwsc),(long)offset);if(offset) {
DPRINTF(E_INF,L_WS,”Seeking to offset %ldn”,(long)offset); -
AuthorPosts
- The forum ‘Feature Requests’ is closed to new topics and replies.