Skip to content

Commit

Permalink
Fixed last.fm interval
Browse files Browse the repository at this point in the history
  • Loading branch information
obrhoff committed Sep 1, 2021
1 parent e0cb9b0 commit 5248478
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
8 changes: 4 additions & 4 deletions MusaicFM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,12 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = YE33ZK7Z99;
INFOPLIST_FILE = MusaicFM/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 1.2.3;
MARKETING_VERSION = 1.2.4;
PRODUCT_BUNDLE_IDENTIFIER = com.obrhoff.MusaicFM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -548,12 +548,12 @@
CODE_SIGN_IDENTITY = "Developer ID Application: Dennis Oberhoff (YE33ZK7Z99)";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = YE33ZK7Z99;
INFOPLIST_FILE = MusaicFM/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 1.2.3;
MARKETING_VERSION = 1.2.4;
PRODUCT_BUNDLE_IDENTIFIER = com.obrhoff.MusaicFM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion MusaicFM/Preferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ - (instancetype)init
if (self) {
self.rows = 4;
self.delays = 5;
self.lastfmUser = @"DocterD";
self.lastfmUser = @"obrhoff";
self.lastfmTag = @"HipHop";
}
return self;
Expand Down
7 changes: 7 additions & 0 deletions MusaicFM/PreferencesViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ - (IBAction)didChangeDelaySlider:(id)sender
[self updateView];
}

- (IBAction)didSelectLastfmInterfal:(id)sender
{
self.preferences.lastfmWeekly = self.lastFmWeeklyButton.indexOfSelectedItem;
[self updateView];
}


- (void)didChangeText
{
self.preferences.lastfmUser = self.lastFmUserTextField.stringValue;
Expand Down
11 changes: 7 additions & 4 deletions MusaicFM/PreferencesViewController.xib
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19158" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/>
<plugIn identifier="com.apple.WebKit2IBPlugin" version="17701"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19158"/>
<plugIn identifier="com.apple.WebKit2IBPlugin" version="19158"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
Expand Down Expand Up @@ -39,7 +39,7 @@
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="QvC-M9-y7g">
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="674" height="656"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1025"/>
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
<view key="contentView" wantsLayer="YES" misplaced="YES" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="674" height="656"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -240,6 +240,9 @@
<font key="font" metaFont="menu"/>
<menu key="menu" id="S23-ON-CmK"/>
</popUpButtonCell>
<connections>
<action selector="didSelectLastfmInterfal:" target="-2" id="Z9q-q0-hmI"/>
</connections>
</popUpButton>
<stackView distribution="fill" orientation="vertical" alignment="leading" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UXx-DD-blQ">
<rect key="frame" x="0.0" y="0.0" width="180" height="46"/>
Expand Down

0 comments on commit 5248478

Please sign in to comment.