* probably shouldn't be using this, but the gvfs http backend doesn't Local_ file_name = g_file_ info_get_ attribute_ as_string (src_info, G_FILE_ ATTRIBUTE_ STANDARD_ COPY_NAME) 769,14 +769,7 download_podcast (GFileInfo *src_info, RBPodcastManage rInfo *data)ĭata- >download_ size = g_file_ info_get_ attribute_ uint64 (src_info, G_FILE_ ATTRIBUTE_ STANDARD_ SIZE) c rhythmbox- 0.13.0git201008 19.no-copy- name/podcast/ rb-podcast- manager. Patch to not fall back on edit-name when copy-name is null (for real example above):ĭiff -git rhythmbox- 0.13.0git201008 19.orig/ podcast/ rb-podcast- manager. A patch for this is not included but seems simple as well - just always use the current fall-back-to-URI path for the local filename. since in the canonical Rhythmbox user doesn't care about filenames of saved podcasts at all. Of course, this is a problem of podcast creators, but it might still make sense to work around it, esp. However, that wouldn't really cure the real issue: it would be nice if Rhythmbox were robust against non-unique file attributes (ie, even if they are set) and file names on podcasts. mp3Ī fix for this particular case could be to fall back to the escaped URI and not to edit-name attr when copy-name is not set (see trivial patch for this below). That causes the original undesired behavior that prompted this bug report: podcasts with non-unique file attributes/file names are unusable. In that case, currently, we fall back to edit-name attribute (and only if that's not set either - to escaped URI). The standard::copy-name attribute might not be set by the gvfs backend. The fix above seems to cover one case, but there's another that I just stumbled upon. #include -790,9 +791,15 download_podcast (GFileInfo *src_info, RBPodcastManagerInfo *data) * if the filename ends with the query string from the original URI,ĭiff -git a/podcast/rb-podcast-manager.c b/podcast/rb-podcast-manager.c + rb_debug ("didn't get a filename from the file info request using escaped uri %s", local_file_name) + local_file_name = g_file_get_uri (data->source) rb_debug ("didn't get a filename from the file info request using basename %s", local_file_name) local_file_name = g_file_get_basename (data->source) * fall back to the basename from the original URI */ #include -790,9 +791,15 download_podcast (GFileInfo *src_info, RBPodcastManage rInfo *data) Confirm the tracks are different (in the current version they will be the same)ĭiff -git a/podcast/ rb-podcast- manager. Sheet.appendRow().getCurrentCell().setFontWeight('bold').- The change only affects new podcasts that are downloadedĢ. create a array for pasting contentrs into the sheet Replace the sheet name with the sheet name in the active spreadsheet where you want the output to be displayed. Var ss = SpreadsheetApp.getActiveSpreadsheet() Var parentFolder = DriveApp.getFoldersByName(foldername).next() Var foldername = DriveApp.getFolderById(folderId) Replace the folder id with the folder id of the parent folder in the Google Drive, where you would like to start sorting through the drive. Insert the sheet name where the output is to be displayed.Insert the ID of the folder to be analysed.creates a Spreadsheet in which the folder information is to be placed.printing the files in each folder and sub-folder (deleted: not required by OP).creating a "treelike" structure of the folders and sub-folders. The original script is by It has/had several nice features such as:
0 Comments
Leave a Reply. |