Skip to content

Commit 5248478

Browse files
committed
Fixed last.fm interval
1 parent e0cb9b0 commit 5248478

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

MusaicFM.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,12 +529,12 @@
529529
buildSettings = {
530530
CODE_SIGN_STYLE = Automatic;
531531
COMBINE_HIDPI_IMAGES = YES;
532-
CURRENT_PROJECT_VERSION = 12;
532+
CURRENT_PROJECT_VERSION = 13;
533533
DEVELOPMENT_TEAM = YE33ZK7Z99;
534534
INFOPLIST_FILE = MusaicFM/Info.plist;
535535
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
536536
MACOSX_DEPLOYMENT_TARGET = 10.12;
537-
MARKETING_VERSION = 1.2.3;
537+
MARKETING_VERSION = 1.2.4;
538538
PRODUCT_BUNDLE_IDENTIFIER = com.obrhoff.MusaicFM;
539539
PRODUCT_NAME = "$(TARGET_NAME)";
540540
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -548,12 +548,12 @@
548548
CODE_SIGN_IDENTITY = "Developer ID Application: Dennis Oberhoff (YE33ZK7Z99)";
549549
CODE_SIGN_STYLE = Manual;
550550
COMBINE_HIDPI_IMAGES = YES;
551-
CURRENT_PROJECT_VERSION = 12;
551+
CURRENT_PROJECT_VERSION = 13;
552552
DEVELOPMENT_TEAM = YE33ZK7Z99;
553553
INFOPLIST_FILE = MusaicFM/Info.plist;
554554
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
555555
MACOSX_DEPLOYMENT_TARGET = 10.12;
556-
MARKETING_VERSION = 1.2.3;
556+
MARKETING_VERSION = 1.2.4;
557557
PRODUCT_BUNDLE_IDENTIFIER = com.obrhoff.MusaicFM;
558558
PRODUCT_NAME = "$(TARGET_NAME)";
559559
PROVISIONING_PROFILE_SPECIFIER = "";

MusaicFM/Preferences.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ - (instancetype)init
1818
if (self) {
1919
self.rows = 4;
2020
self.delays = 5;
21-
self.lastfmUser = @"DocterD";
21+
self.lastfmUser = @"obrhoff";
2222
self.lastfmTag = @"HipHop";
2323
}
2424
return self;

MusaicFM/PreferencesViewController.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ - (IBAction)didChangeDelaySlider:(id)sender
167167
[self updateView];
168168
}
169169

170+
- (IBAction)didSelectLastfmInterfal:(id)sender
171+
{
172+
self.preferences.lastfmWeekly = self.lastFmWeeklyButton.indexOfSelectedItem;
173+
[self updateView];
174+
}
175+
176+
170177
- (void)didChangeText
171178
{
172179
self.preferences.lastfmUser = self.lastFmUserTextField.stringValue;

MusaicFM/PreferencesViewController.xib

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19158" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/>
6-
<plugIn identifier="com.apple.WebKit2IBPlugin" version="17701"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19158"/>
6+
<plugIn identifier="com.apple.WebKit2IBPlugin" version="19158"/>
77
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
88
</dependencies>
99
<objects>
@@ -39,7 +39,7 @@
3939
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="QvC-M9-y7g">
4040
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
4141
<rect key="contentRect" x="196" y="240" width="674" height="656"/>
42-
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1025"/>
42+
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
4343
<view key="contentView" wantsLayer="YES" misplaced="YES" id="EiT-Mj-1SZ">
4444
<rect key="frame" x="0.0" y="0.0" width="674" height="656"/>
4545
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -240,6 +240,9 @@
240240
<font key="font" metaFont="menu"/>
241241
<menu key="menu" id="S23-ON-CmK"/>
242242
</popUpButtonCell>
243+
<connections>
244+
<action selector="didSelectLastfmInterfal:" target="-2" id="Z9q-q0-hmI"/>
245+
</connections>
243246
</popUpButton>
244247
<stackView distribution="fill" orientation="vertical" alignment="leading" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UXx-DD-blQ">
245248
<rect key="frame" x="0.0" y="0.0" width="180" height="46"/>

0 commit comments

Comments
 (0)