Skip to content

Commit

Permalink
Merge branch 'cawc-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
kkevinm committed May 30, 2020
2 parents 5155434 + 158cdd3 commit 86807d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.kevinmussi</groupId>
<artifactId>itunes-discord-rp</artifactId>
<version>1.3</version>
<version>1.3.1</version>
<packaging>jar</packaging>
<name>iTunes Discord RP</name>
<properties>
Expand All @@ -19,7 +19,7 @@
<repository>
<id>jcenter</id>
<name>jcenter-bintray</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
Expand All @@ -39,7 +39,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
Expand All @@ -48,7 +48,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -65,7 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<version>3.2.3</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -151,7 +151,7 @@
<bundledJreAsFallback>false</bundledJreAsFallback>
</jre>
<versionInfo>
<fileVersion>${project.version}.0.0</fileVersion>
<fileVersion>${project.version}.0</fileVersion>
<txtFileVersion>${project.version}</txtFileVersion>
<fileDescription>${project.description}</fileDescription>
<copyright>Copyright (c) 2018</copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ repeat
log state
end if
else
set currentTrack to current track
set currentTrack to current track
# If the current song or the player status has changed, log the new track information
if currentPlayerState is not savedPlayerState or currentTrack is not savedTrack then
if currentPlayerState is playing then
Expand All @@ -39,7 +39,7 @@ repeat
end if

# Write the track main information in the log
log name of currentTrack & ";;" & artist of currentTrack & ";;" & album of currentTrack & ";;" & state & ";;" & player position & ";;" & duration of currentTrack & ";;" & track number of currentTrack & ";;" & track count of currentTrack
log name of current track & ";;" & artist of current track & ";;" & album of current track & ";;" & state & ";;" & player position & ";;" & duration of current track & ";;" & track number of current track & ";;" & track count of current track
end if

# Update the player state and song name to detect when the track changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ repeat
log state
end if
else
set currentTrack to current track
set currentTrack to current track
# If the current song or the player status has changed, log the new track information
if currentPlayerState is not savedPlayerState or currentTrack is not savedTrack then
if currentPlayerState is playing then
Expand All @@ -39,7 +39,7 @@ repeat
end if

# Write the track main information in the log
log name of currentTrack & ";;" & artist of currentTrack & ";;" & album of currentTrack & ";;" & state & ";;" & player position & ";;" & duration of currentTrack & ";;" & track number of currentTrack & ";;" & track count of currentTrack
log name of current track & ";;" & artist of current track & ";;" & album of current track & ";;" & state & ";;" & player position & ";;" & duration of current track & ";;" & track number of current track & ";;" & track count of current track
end if

# Update the player state and song name to detect when the track changes
Expand Down

0 comments on commit 86807d4

Please # to comment.