Codebase list gmtp / 3d69d33
Import Upstream version 1.3.1 Dylan Aïssi 5 years ago
13 changed file(s) with 73 addition(s) and 46 deletion(s). Raw diff Collapse all Expand all
0 gmtp
0 -- v1.3.1 - 20 Feb 2012
1 * Change default to ask for Download folder upon initial installation.
2 * Fix folder view on devices with multiple storage pools (Android enhancement).
3 * Change album metadata update error only once during file upload session. (Android enhancement).
4
05 -- v1.3.0 - 25 Dec 2011
16 + Added folder name to title bar as per Gnome 2.0 HIG Section 2.1.
27 + Added search toolbar for searching for files/tracks/folders on the device.
11
22 PKG_NAME = gmtp
33 PREFIX ?= /usr/local
4 VER = 1.3.0
4 VER = 1.3.1
55 # Note: If you update above, please update the config.h and pkginfo file as well.
66
77 PKG = gmtp
0 gMTP v1.3.0
0 gMTP v1.3.1
11
22 A basic MP3 Player client for Oracle Solaris 10.
33
1616 <owner>gMTP</owner>
1717 <type>bool</type>
1818 <locale name="C">
19 <default>false</default>
19 <default>true</default>
2020 <short>Always Prompt for Download Path</short>
2121 <long>Always Prompt for Download Path</long>
2222 </locale>
55 <description>Auto Connect Device on Start</description>
66 </key>
77 <key name="promptdownloadpath" type="b">
8 <default>false</default>
8 <default>true</default>
99 <summary>Always Prompt for Download Path</summary>
1010 <description>Always Prompt for Download Path</description>
1111 </key>
154154 //tmpFolderID = currentFolderID;
155155 currentFolderID = (uint32_t) targetFol;
156156 }
157 AlbumErrorIgnore = FALSE;
157158 if (files != NULL)
158159 g_slist_foreach(files, (GFunc) __filesAdd, NULL);
159160
2020
2121 #define PACKAGE "gmtp"
2222 #define PACKAGE_TITLE "gMTP"
23 #define PACKAGE_VERSION "1.3.0"
23 #define PACKAGE_VERSION "1.3.1"
2424
2525 #define GMTP_GSETTINGS_SCHEMA "org.gnome.gmtp"
2626
7979 } else {
8080 addTrackPlaylistID = GMTP_NO_PLAYLIST;
8181 }
82 AlbumErrorIgnore = FALSE;
8283 // Add the files.
8384 if (files != NULL) {
8485 g_slist_foreach(files, (GFunc) __filesAdd, NULL);
141142 } else {
142143 addTrackPlaylistID = GMTP_NO_PLAYLIST;
143144 }
144
145 AlbumErrorIgnore = FALSE;
145146 // Add the files.
146147 if (files != NULL) {
147148 g_slist_foreach(files, (GFunc) __filesAdd, NULL);
309310 } else {
310311 addTrackPlaylistID = GMTP_NO_PLAYLIST;
311312 }
313 AlbumErrorIgnore = FALSE;
312314 // Upload our given files in the current selected folder.
313315 if (filelist != NULL) {
314316 g_slist_foreach(filelist, (GFunc) __filesAdd, NULL);
18321832 }
18331833
18341834 while (folders != NULL) {
1835
1836 image = gdk_pixbuf_new_from_file(file_folder_png, NULL);
1837 // Now add in the row information.
1838 gtk_tree_store_append(GTK_TREE_STORE(folderList), &rowIter, parent);
1839 gtk_tree_store_set(GTK_TREE_STORE(folderList), &rowIter,
1840 //COL_FOL_NAME, folders->name,
1841 COL_FOL_NAME_HIDDEN, folders->name,
1842 COL_FOL_ID, folders->folder_id,
1843 COL_FOL_ICON, image,
1844 -1);
1845
1846 // Indicate we are done with this image.
1847 g_object_unref(image);
1848 if (folders->child != NULL) {
1849 // Call our child.
1850 folderListAdd(folders->child, &rowIter);
1835 // Only add in folder if it's in the current storage device.
1836 if (folders->storage_id == DeviceMgr.devicestorage->id) {
1837
1838 image = gdk_pixbuf_new_from_file(file_folder_png, NULL);
1839 // Now add in the row information.
1840 gtk_tree_store_append(GTK_TREE_STORE(folderList), &rowIter, parent);
1841 gtk_tree_store_set(GTK_TREE_STORE(folderList), &rowIter,
1842 //COL_FOL_NAME, folders->name,
1843 COL_FOL_NAME_HIDDEN, folders->name,
1844 COL_FOL_ID, folders->folder_id,
1845 COL_FOL_ICON, image,
1846 -1);
1847
1848 // Indicate we are done with this image.
1849 g_object_unref(image);
1850 if (folders->child != NULL) {
1851 // Call our child.
1852 folderListAdd(folders->child, &rowIter);
1853 }
18511854 }
18521855 folders = folders->sibling;
18531856 }
56695672
56705673 while (folders != NULL) {
56715674
5672 image = gdk_pixbuf_new_from_file(file_folder_png, NULL);
5673 // Now add in the row information.
5674 gtk_tree_store_append(GTK_TREE_STORE(fl), &rowIter, parent);
5675 gtk_tree_store_set(GTK_TREE_STORE(fl), &rowIter,
5676 //COL_FOL_NAME, folders->name,
5677 COL_FOL_NAME_HIDDEN, folders->name,
5678 COL_FOL_ID, folders->folder_id,
5679 COL_FOL_ICON, image,
5680 -1);
5681
5682 // Indicate we are done with this image.
5683 g_object_unref(image);
5684 if (folders->child != NULL) {
5685 // Call our child.
5686 folderListAddDialog(folders->child, &rowIter, fl);
5675 // Only add in folder if it's in the current storage device.
5676 if (folders->storage_id == DeviceMgr.devicestorage->id) {
5677
5678 image = gdk_pixbuf_new_from_file(file_folder_png, NULL);
5679 // Now add in the row information.
5680 gtk_tree_store_append(GTK_TREE_STORE(fl), &rowIter, parent);
5681 gtk_tree_store_set(GTK_TREE_STORE(fl), &rowIter,
5682 //COL_FOL_NAME, folders->name,
5683 COL_FOL_NAME_HIDDEN, folders->name,
5684 COL_FOL_ID, folders->folder_id,
5685 COL_FOL_ICON, image,
5686 -1);
5687
5688 // Indicate we are done with this image.
5689 g_object_unref(image);
5690 if (folders->child != NULL) {
5691 // Call our child.
5692 folderListAddDialog(folders->child, &rowIter, fl);
5693 }
56875694 }
56885695 folders = folders->sibling;
56895696 }
9595
9696 static gchar* blank_ext = "";
9797
98 // Ignore Album errors?
99
100 gboolean AlbumErrorIgnore = FALSE;
101
98102 // ************************************************************************************************
99103
100104 /**
12601264 albuminfo->tracks = NULL;
12611265 }
12621266 if (ret != 0) {
1263 displayError(_("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n"));
1264 g_fprintf(stderr, _("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n"));
1267
1268 if (AlbumErrorIgnore == FALSE) {
1269 displayError(_("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n"));
1270 g_fprintf(stderr, _("Error creating or updating album.\n(This could be due to that your device does not support albums.)\n"));
1271 }
1272 // Displayed the message once already per transfer...
1273 AlbumErrorIgnore = TRUE;
12651274 LIBMTP_Dump_Errorstack(DeviceMgr.device);
12661275 LIBMTP_Clear_Errorstack(DeviceMgr.device);
12671276 }
3333 };
3434
3535 #define MTP_DEVICE_SINGLE_STORAGE -1
36
37 gboolean AlbumErrorIgnore;
3638
3739 typedef struct {
3840 gchar* file_extension;
1818 <script src="scripts/frog.js" type="text/javascript"> </script>
1919
2020
21 <title>gMTP v1.3.0 - A simple MP3 and Media Player Client for UNIX and UNIX like systems</title>
21 <title>gMTP v1.3.1 - A simple MP3 and Media Player Client for UNIX and UNIX like systems</title>
2222 </head>
2323 <body onload="SetDefaultView();">
2424
5555 <div id="ContentArea">
5656
5757 <div id="DivHome">
58 <h2>gMTP v1.3.0</h2>
58 <h2>gMTP v1.3.1</h2>
5959 <p>
6060 A simple MP3 and Media player client for UNIX and UNIX like systems.</p>
6161 <p>
9292 <li>Oracle Solaris 10, other UNIX or UNIX-like system</li>
9393 <li>libvorbis (v1.0.1)</li>
9494 <li>libflac (v1.2+) - <a href="http://flac.sourceforge.net/index.html">FLAC Hompage</a> </li>
95 <li>libmtp (v1.0.0) - <a href="http://libmtp.sourceforge.net/">LIBMTP Hompage</a> </li>
95 <li>libmtp (v1.0.2) - <a href="http://libmtp.sourceforge.net/">LIBMTP Hompage</a> </li>
9696 <li>libid3tag (v0.15.1b) - <a href="http://sourceforge.net/projects/mad/files/">MAD Download Page</a> </li>
9797 <li>GTK2+ Version. (Recommended for Solaris, FreeBSD and older Linux Distributions)
9898 <ul>
115115 <h2><a id="Installation">Installation (Binary)</a></h2>
116116 <dl>
117117 <dt>Oracle Solaris 10</dt>
118 <dd>Download SYSV package, gunzip it and use 'pkgadd -d gMTP-1.3.0-i386.pkg' to install.</dd>
118 <dd>Download SYSV package, gunzip it and use 'pkgadd -d gMTP-1.3.1-i386.pkg' to install.</dd>
119119 <dt>Debian GNU/Linux</dt>
120120 <dd>gMTP is available in the unstable (sid) package lists. Use 'apt-get' to install.</dd>
121121 <dt>Ubuntu</dt>
222222 <h2><a id="Downloads">Downloads</a></h2>
223223 <h3>Current Release</h3>
224224 <p>
225 gMTP Source: <a href="http://sourceforge.net/projects/gmtp/files/gMTP-1.3.0/gmtp-1.3.0-i386.tar.gz/download">gMTP-1.3.0-i386.tar.gz</a></p>
226 <p>
227 gMTP Solaris 10 Package: <a href="http://sourceforge.net/projects/gmtp/files/gMTP-1.3.0/gmtp-1.3.0-i386.pkg.gz/download">gMTP-1.3.0-i386.pkg.gz</a> (Warning: Does NOT
225 gMTP Source: <a href="http://sourceforge.net/projects/gmtp/files/gMTP-1.3.1/gmtp-1.3.1-i386.tar.gz/download">gMTP-1.3.1-i386.tar.gz</a></p>
226 <p>
227 gMTP Solaris 10 Package: <a href="http://sourceforge.net/projects/gmtp/files/gMTP-1.3.1/gmtp-1.3.1-i386.pkg.gz/download">gMTP-1.3.1-i386.pkg.gz</a> (Warning: Does NOT
228228 contain libmtp, libflac or libid3tag).</p>
229229 <h3>Previous Releases</h3>
230230 <p>