Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-fm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-fm
Commits
f7b22a9f
Commit
f7b22a9f
authored
Aug 16, 2016
by
mattl
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove lower insert
parent
060a984f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scrobble-utils.php
gnukebox/scrobble-utils.php
+4
-4
No files found.
gnukebox/scrobble-utils.php
View file @
f7b22a9f
...
...
@@ -123,10 +123,10 @@ function getScrobbleTrackCreateIfNew($artist, $album, $track, $mbid) {
$tid
=
getTrackCreateIfNew
(
$artist
,
$album
,
$track
,
$mbid
);
$sql
=
'INSERT INTO Scrobble_Track (name, artist, album, mbid, track) VALUES ('
.
'lower('
.
$track
.
')
, '
.
'lower('
.
$artist
.
')
, '
.
((
$album
==
'NULL'
)
?
'NULL'
:
'lower('
.
$album
.
')'
)
.
', '
.
((
$mbid
==
'NULL'
)
?
'NULL'
:
'
lower('
.
$mbid
.
')'
)
.
', '
.
$track
.
'
, '
.
$artist
.
'
, '
.
((
$album
==
'NULL'
)
?
'NULL'
:
$album
.
', '
.
((
$mbid
==
'NULL'
)
?
'NULL'
:
'
$mbid
. '
,
'
. $tid . '
)
';
$res = $adodb->Execute($sql);
return getScrobbleTrackCreateIfNew($artist, $album, $track, $mbid);
...
...
Ghost User
@ghost
mentioned in commit
7382d20d
·
Aug 16, 2016
mentioned in commit
7382d20d
mentioned in commit 7382d20d1986861e4a7c3d25c7c46895ce0e34dc
Toggle commit list
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