Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
rhythmbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,716
Issues
1,716
List
Boards
Labels
Service Desk
Milestones
Merge Requests
39
Merge Requests
39
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
rhythmbox
Commits
33f8fc61
Commit
33f8fc61
authored
Sep 27, 2020
by
Jonathan Matthew
🕳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
podcast: set download progress to 0% when starting
Closes:
#1822
parent
5c4a0ea3
Pipeline
#216679
passed with stage
in 14 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
podcast/rb-podcast-manager.c
podcast/rb-podcast-manager.c
+6
-1
No files found.
podcast/rb-podcast-manager.c
View file @
33f8fc61
...
...
@@ -2073,12 +2073,17 @@ download_task (GTask *task, gpointer source_object, gpointer task_data, GCancell
}
}
/* set the download location for the episode */
/* set the download location for the episode
, set progress to 0%
*/
g_value_init
(
&
val
,
G_TYPE_STRING
);
g_value_set_string
(
&
val
,
sane_dl_uri
);
set_download_location
(
pd
->
priv
->
db
,
download
->
entry
,
&
val
);
g_value_unset
(
&
val
);
g_value_init
(
&
val
,
G_TYPE_ULONG
);
g_value_set_ulong
(
&
val
,
0
);
rhythmdb_entry_set
(
pd
->
priv
->
db
,
download
->
entry
,
RHYTHMDB_PROP_STATUS
,
&
val
);
g_value_unset
(
&
val
);
rhythmdb_commit
(
pd
->
priv
->
db
);
/* check for an existing partial download */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment