changeset 601:45c9130027d9 trunk

[svn] - handle unavailable tuples better
author nenolod
date Fri, 02 Feb 2007 14:42:27 -0800
parents b648162ec411
children 20b8e735f69e
files ChangeLog src/scrobbler/plugin.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Feb 02 13:43:43 2007 -0800
+++ b/ChangeLog	Fri Feb 02 14:42:27 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-02 21:43:43 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1286]
+  - forgot to svn add
+  
+  trunk/po/tr.po | 2320 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  1 file changed, 2320 insertions(+)
+
+
 2007-02-02 21:21:37 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1284]
   - new turkish translation from Murat Senel
--- a/src/scrobbler/plugin.c	Fri Feb 02 13:43:43 2007 -0800
+++ b/src/scrobbler/plugin.c	Fri Feb 02 14:42:27 2007 -0800
@@ -481,6 +481,9 @@
 
 			tuple = playlist_get_tuple(playlist_get_active(), dosubmit.pos_c);
 
+			if (tuple == NULL)
+				continue;
+
 			if (ishttp(tuple->file_name))
 				continue;
 
@@ -503,6 +506,9 @@
 
 			tuple = playlist_get_tuple(playlist_get_active(), dosubmit.pos_c);
 
+			if (tuple == NULL)
+				continue;
+
 			if (ishttp(tuple->file_name))
 				continue;