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
T
totem-pl-parser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
totem-pl-parser
Commits
859a5aa3
Commit
859a5aa3
authored
Feb 27, 2020
by
Bastien Nocera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plparser: Make save implementation accept GCancellable
parent
e8f44a7e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
3 deletions
+12
-3
plparse/totem-pl-parser-lines.c
plparse/totem-pl-parser-lines.c
+1
-0
plparse/totem-pl-parser-lines.h
plparse/totem-pl-parser-lines.h
+1
-0
plparse/totem-pl-parser-pla.c
plparse/totem-pl-parser-pla.c
+1
-0
plparse/totem-pl-parser-pla.h
plparse/totem-pl-parser-pla.h
+1
-0
plparse/totem-pl-parser-pls.c
plparse/totem-pl-parser-pls.c
+1
-0
plparse/totem-pl-parser-pls.h
plparse/totem-pl-parser-pls.h
+1
-0
plparse/totem-pl-parser-xspf.c
plparse/totem-pl-parser-xspf.c
+1
-0
plparse/totem-pl-parser-xspf.h
plparse/totem-pl-parser-xspf.h
+1
-0
plparse/totem-pl-parser.c
plparse/totem-pl-parser.c
+4
-3
No files found.
plparse/totem-pl-parser-lines.c
View file @
859a5aa3
...
...
@@ -84,6 +84,7 @@ totem_pl_parser_save_m3u (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
gboolean
dos_compatible
,
GCancellable
*
cancellable
,
GError
**
error
)
{
TotemPlPlaylistIter
iter
;
...
...
plparse/totem-pl-parser-lines.h
View file @
859a5aa3
...
...
@@ -40,6 +40,7 @@ gboolean totem_pl_parser_save_m3u (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
gboolean
dos_compatible
,
GCancellable
*
cancellable
,
GError
**
error
);
TotemPlParserResult
totem_pl_parser_add_ram
(
TotemPlParser
*
parser
,
...
...
plparse/totem-pl-parser-pla.c
View file @
859a5aa3
...
...
@@ -48,6 +48,7 @@ totem_pl_parser_save_pla (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
const
char
*
title
,
GCancellable
*
cancellable
,
GError
**
error
)
{
TotemPlPlaylistIter
iter
;
...
...
plparse/totem-pl-parser-pla.h
View file @
859a5aa3
...
...
@@ -37,6 +37,7 @@ gboolean totem_pl_parser_save_pla (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
const
char
*
title
,
GCancellable
*
cancellable
,
GError
**
error
);
TotemPlParserResult
totem_pl_parser_add_pla
(
TotemPlParser
*
parser
,
...
...
plparse/totem-pl-parser-pls.c
View file @
859a5aa3
...
...
@@ -40,6 +40,7 @@ totem_pl_parser_save_pls (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
const
gchar
*
title
,
GCancellable
*
cancellable
,
GError
**
error
)
{
TotemPlPlaylistIter
iter
;
...
...
plparse/totem-pl-parser-pls.h
View file @
859a5aa3
...
...
@@ -36,6 +36,7 @@ gboolean totem_pl_parser_save_pls (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
file
,
const
char
*
title
,
GCancellable
*
cancellable
,
GError
**
error
);
TotemPlParserResult
totem_pl_parser_add_pls_with_contents
(
TotemPlParser
*
parser
,
GFile
*
file
,
...
...
plparse/totem-pl-parser-xspf.c
View file @
859a5aa3
...
...
@@ -100,6 +100,7 @@ totem_pl_parser_save_xspf (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
const
char
*
title
,
GCancellable
*
cancellable
,
GError
**
error
)
{
TotemPlPlaylistIter
iter
;
...
...
plparse/totem-pl-parser-xspf.h
View file @
859a5aa3
...
...
@@ -37,6 +37,7 @@ gboolean totem_pl_parser_save_xspf (TotemPlParser *parser,
TotemPlPlaylist
*
playlist
,
GFile
*
output
,
const
char
*
title
,
GCancellable
*
cancellable
,
GError
**
error
);
TotemPlParserResult
totem_pl_parser_add_xspf_with_contents
(
TotemPlParser
*
parser
,
...
...
plparse/totem-pl-parser.c
View file @
859a5aa3
...
...
@@ -1152,16 +1152,17 @@ totem_pl_parser_save (TotemPlParser *parser,
switch
(
type
)
{
case
TOTEM_PL_PARSER_PLS
:
return
totem_pl_parser_save_pls
(
parser
,
playlist
,
dest
,
title
,
error
);
return
totem_pl_parser_save_pls
(
parser
,
playlist
,
dest
,
title
,
NULL
,
error
);
case
TOTEM_PL_PARSER_M3U
:
case
TOTEM_PL_PARSER_M3U_DOS
:
return
totem_pl_parser_save_m3u
(
parser
,
playlist
,
dest
,
(
type
==
TOTEM_PL_PARSER_M3U_DOS
),
NULL
,
error
);
case
TOTEM_PL_PARSER_XSPF
:
return
totem_pl_parser_save_xspf
(
parser
,
playlist
,
dest
,
title
,
error
);
return
totem_pl_parser_save_xspf
(
parser
,
playlist
,
dest
,
title
,
NULL
,
error
);
case
TOTEM_PL_PARSER_IRIVER_PLA
:
return
totem_pl_parser_save_pla
(
parser
,
playlist
,
dest
,
title
,
error
);
return
totem_pl_parser_save_pla
(
parser
,
playlist
,
dest
,
title
,
NULL
,
error
);
default:
g_assert_not_reached
();
}
...
...
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