Re: Needed information regarding solving File Renaming Bug
- From: Pranav Ganorkar <pranavg189 gmail com>
- To: Pranav Ganorkar <pranavg189 gmail com>, easytag-list gnome org
- Subject: Re: Needed information regarding solving File Renaming Bug
- Date: Sat, 5 Mar 2016 01:38:39 +0530
Hi David,
I wanted to ask you some things about the review of the patch:
Should we create here a dialog with a text box for the user to enter a new filename ? what do you think will be better here.
@@ +1853,3 @@
+void ET_File_Name_Check_Length (ET_File *ETFile, gchar *filename_utf8)
+{
+ ET_File_Description *ETFileDescription;
There's not much need to have this as a variable, as it is never modified and used only once.
we will need a variable here as we need to use it in the switch case to decide the file type.
correct me if I am wrong regarding this.
@@ +1875,3 @@
+#endif
+ default:
+ if ( (exceed_size = (strlen(basename) - 251)) > 0 ) // 255 - 4 (extension)
Are all filename extensions 4 characters (3 characters for the extension plus a full stop)?
yes. we will need to have seperate cases for flac, opus which have 5 characters including dot.
Regards,
Pranav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]