Package com.tagtraum.audiokern
Class ReadOnlyAudioSong
- java.lang.Object
-
- com.tagtraum.audiokern.ReadOnlyAudioSong
-
- All Implemented Interfaces:
AudioSong
- Direct Known Subclasses:
AcousticBrainzSong,AmazonTrack,BeatportTrack,CoverartSong,DiscogsTrack,LastFMTrack,ReferenceSong,WikidataSong
public abstract class ReadOnlyAudioSong extends Object implements AudioSong
Base class for read-onlyAudioSongimplementations. All write methods will throwUnsupportedOperationExceptions.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tagtraum.audiokern.AudioSong
AudioSong.CloudStatus, AudioSong.Instrumentation, AudioSong.Liking, AudioSong.MediaKind, AudioSong.TrackType
-
-
Field Summary
-
Fields inherited from interface com.tagtraum.audiokern.AudioSong
ACOUSTIC_NAMES, ELECTRONIC_NAMES
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyAudioSong()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArtwork(AudioArtwork audioArtwork)Adds an artwork/image to the audio song.voidaddPropertyChangeListener(PropertyChangeListener propertyChangeListener)Calls to this method have no effect.voidaddPropertyChangeListener(String property, PropertyChangeListener propertyChangeListener)Calls to this method have no effect.<T> TgetImplementation(Class<T> klass)AudioSongobjects are sometimes implemented by an object that acts as a facade to other AudioSong objects.List<AudioSong>getImplementations()Returns implementations of this interface instance.PropertyChangeListener[]getPropertyChangeListeners()Always returns an empty array.PropertyChangeListener[]getPropertyChangeListeners(String property)Always returns an empty array.voidremovePropertyChangeListener(PropertyChangeListener listener)Calls to this method have no effect.voidremovePropertyChangeListener(String property, PropertyChangeListener listener)Calls to this method have no effect.voidsetAlbum(String album)Sets album name.voidsetAlbumArtist(String albumArtist)Sets the album artist.voidsetAlbumLiking(AudioSong.Liking liking)Set album liking.voidsetAlbumRating(int albumRating)Sets album rating.voidsetAlbumReplayGain(ReplayGain replayGain, boolean updateITunNorm)Sets the replay gain for this album.voidsetArtist(String artist)Sets artist.voidsetArtworks(AudioArtwork... artworks)Set artworks belonging to this track.voidsetBackCoverArtwork(File... backCover)Replace all back covers with the given files.voidsetBeats(Beats beats)Sets this song's beats.voidsetBeatsAlgorithm(String beatsAlgorithm)Sets the algorithm the beats were computed with.voidsetBeatsPerMinute(float bpm)Sets beats per minute.voidsetBeatsPerMinuteAlgorithm(String bpmAlgorithm)Sets the BPM algorithm.voidsetClean(boolean clean)Sets the "clean" flag.voidsetColor(Color color)Sets the color.voidsetComments(String comments)Set comments.voidsetCompilation(boolean compilation)Marks this song as part of a compilation (or not).voidsetComposer(String composer)Sets composer.voidsetContentRating(String contentRating)Sets the content rating.voidsetCustom1(String value)Custom field.voidsetCustom2(String value)Custom field.voidsetCustom3(String value)Custom field.voidsetCustom4(String value)Custom field.voidsetCustom5(String value)Custom field.voidsetDanceability(Float danceability)Danceability.voidsetDanceabilityAlgorithm(String danceabilityAlgorithm)Set the danceability algorithm.voidsetDateAnalyzed(Date date)Sets the date this song was last analyzed.voidsetDescription(String description)Sets description/subtitle.voidsetDisabled(boolean disabled)Enables/disables this song.voidsetDiscCount(int discCount)Set disc count.voidsetDiscNumber(int discNumber)Sets the disc number.voidsetEnabled(boolean enabled)Enables/disables this song.voidsetEpisode(String episode)Set episode name.voidsetEpisodeOrder(int episodeOrder)Set episode order.voidsetExplicit(boolean explicit)Sets the "explicit" flag.voidsetFingerprint(byte[] fingerprint)Sets the acoustic fingerprint.voidsetFinish(float finish)Sets the stop time in seconds.voidsetFrontCoverArtwork(File... frontCover)Replace all front covers with the given files.voidsetGenre(String genre)Sets genre.voidsetGrouping(String grouping)Sets the grouping.voidsetHasVideo(boolean hasVideo)Sets the "video" flag.voidsetHD(boolean hd)Sets the HD flag.voidsetInstrumentation(AudioSong.Instrumentation instrumentation)Sets the instrumentation property.voidsetInstrumentationAlgorithm(String instrumentationAlgorithm)Set the instrumentation algorithm.voidsetKey(Key key)Sets the tonal key.voidsetKeyAlgorithm(String keyAlgorithm)Set the key algorithm.voidsetKind(String kind)Allows you to store a String descriptor of the kind of audio object this is.voidsetLanguage(String language)Sets the language as ISO 639 three letter code.voidsetLiking(AudioSong.Liking liking)Set liking.voidsetLocation(String location)Sets the location.voidsetLoudness(Loudness loudness)Sets this song's loudness curve.voidsetLyrics(String lyrics)Sets lyrics.voidsetMediaKind(AudioSong.MediaKind kind)Set the kind of media, e.g.voidsetMood(Mood mood)Sets this song's mood.voidsetMoodAlgorithm(String moodAlgorithm)Sets the method the current mood value was created with.voidsetMoodKeywords(Set<String> moodKeywords)Attempt to store the raw mood keywordsvoidsetMovement(String movement)Classical movement.voidsetMovementCount(int count)Classical movement count.voidsetMovementNumber(int number)Classical movement number.voidsetName(String name)Sets name.voidsetPartOfGaplessAlbum(boolean partOfGaplessAlbum)Sets the "gapless album" flag.voidsetPlayCount(int playCount)Set play count.voidsetPlayDate(long playDate)Set play date in milliseconds since January 1, 1970, 00:00:00 GMT (NOT related to the iTunes value!).voidsetPlayDateUTC(Date playDateUTC)Set play time.voidsetPopularity(float value)Sets the value locally.voidsetRating(int rating)Sets the ratingvoidsetRelativeSpectralEntropyMean(Float average)Sets the average relative spectral entropy.voidsetReleaseDate(Date releaseDate)Set release date.voidsetRemoteDisliked(float value)Sets the value locally.voidsetRemoteLoved(float value)Sets the value locally.voidsetRemotePlayFrequency(float value)Sets the value locally.voidsetRemotePlaySkipRatio(float value)Sets the value locally.voidsetRemoteRating(int value)Sets the value locally.voidsetRemoteUpdateDate(Date date)Sets the date that marks the last update of remote properties.voidsetRMSMean(Float average)Sets the average RMS for the first 120 seconds of this song.voidsetRMSStandardDeviation(Float standardDeviation)Sets the standard deviation of the root mean square (RMS).voidsetSeason(int season)Set season.voidsetSegments(Segments segments)Sets this song's segments.voidsetSegmentsAlgorithm(String segmentsAlgorithm)Sets the algorithm the segments were computed with.voidsetShow(String show)Set show name.voidsetSimilarities(Similarities similarities)Sets this song's similarities.voidsetSimilaritiesAlgorithm(String similaritiesAlgorithm)Sets the algorithm the similarities were computed with.voidsetSkipCount(int skipCount)Set skip count.voidsetSkipDate(Date skipDate)Set skip date.voidsetSortAlbum(String sortAlbum)Sets the sort album.voidsetSortAlbumArtist(String sortAlbumArtist)Sets the sort album artist.voidsetSortArtist(String sortArtist)Sets the sort artist.voidsetSortComposer(String sortComposer)Sets the sort composer.voidsetSortName(String sortName)Sets the sort name.voidsetSortShow(String sortShow)Sets the sort show.voidsetSpectralCentroidMean(Float average)Sets the mean of the spectral centroids.voidsetSpectralFluctuationPeak(Float peak)Peak of the spectral fluctuation values computed for windows of length 23.22ms, with a hopsize of half a window.voidsetSpectralFluxMean(Float averageSpectralFlux)Sets the mean spectral flux.voidsetSpectralNoveltyMean(Float average)Sets the average spectral novelty.voidsetSpectralSpreadMean(Float average)Sets the average spectral spread.voidsetSpectralVariabilityMean(Float averageSpectralVariability)Sets the mean spectral variability.voidsetSpectrum(com.tagtraum.audiokern.timbre.BarkSpectrum spectrum)Sets the bark spectrum.voidsetStart(float start)Sets the start time in seconds.voidsetStartTime(int startTime)Set start time in ms.voidsetStopTime(int stopTime)Sets stop time.voidsetTags(Set<String> tags)Sets a new set of tags.voidsetTempo(com.tagtraum.audiokern.bpm.Tempo tempo)Sets the tempo.voidsetTempoColor(Color value)Sets this song's tempo color.voidsetTempoSpectrum(com.tagtraum.audiokern.bpm.TempoSpectrum value)Sets the tempo spectrum.voidsetTempoTimbreColor(Color value)Sets this song's tempo-timbre color.voidsetTimeSignature(TimeSignature timeSignature)Sets this song's time signature.voidsetTimeSignatureAlgorithm(String timeSignatureAlgorithm)Sets the algorithm the time signature was computed with.voidsetTrackCount(int trackCount)Set track countvoidsetTrackNumber(int trackNumber)Set the number of this track.voidsetTrackReplayGain(ReplayGain replayGain, boolean updateITunNorm)Sets the replay gain for this track, not taking other tracks of the album into account.voidsetTrackType(AudioSong.TrackType trackType)Field used by iTunes - typicallyAudioSong.TrackType.FILEfor files andAudioSong.TrackType.URLfor..voidsetTuning(Integer tuning)Sets tuning in cents (+-50).voidsetTuningAlgorithm(String tuningAlgorithm)Sets the tuning algorithm the current tuning value was computed with.voidsetUnplayed(boolean unplayed)Sets unplayed.voidsetVolumeAdjustment(int volumeAdjustment)Sets the volume adjustmentvoidsetWork(String work)Classical work.voidsetYear(int year)Sets the year.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tagtraum.audiokern.AudioSong
addBackCoverArtwork, addFrontCoverArtwork, canWrite, download, getAlbum, getAlbumArtist, getAlbumIds, getAlbumLiking, getAlbumRating, getAlbumReplayGain, getArtist, getArtistIds, getArtworkCount, getArtworks, getBackCoverImage, getBeats, getBeatsAlgorithm, getBeatsPerMinute, getBeatsPerMinuteAlgorithm, getBitRate, getCloudStatus, getColor, getComments, getComposer, getContentRating, getCustom1, getCustom2, getCustom3, getCustom4, getCustom5, getDanceability, getDanceabilityAlgorithm, getDateAdded, getDateAnalyzed, getDateModified, getDescription, getDiscCount, getDiscNumber, getEpisode, getEpisodeOrder, getFile, getFile, getFingerprint, getFinish, getFrontCoverImage, getGenre, getGrouping, getId, getImage, getImages, getInstrumentation, getInstrumentationAlgorithm, getInstrumentationBasedOnGenreAndTags, getKey, getKeyAlgorithm, getKind, getLanguage, getLiking, getLocation, getLocation, getLoudness, getLyrics, getLyricsTermFrequencies, getMeasuresPerMinute, getMediaKind, getMood, getMoodAlgorithm, getMoodKeywords, getMovement, getMovementCount, getMovementNumber, getName, getPath, getPlayCount, getPlayDate, getPlayDateUTC, getPlayFrequency, getPlaySkipRatio, getPopularity, getPurchaseURL, getRating, getRelativeSpectralEntropyMean, getReleaseDate, getRemoteDisliked, getRemoteLoved, getRemotePlayFrequency, getRemotePlaySkipRatio, getRemoteRating, getRemoteUpdateDate, getRMSMean, getRMSStandardDeviation, getSampleRate, getSeason, getSegments, getSegmentsAlgorithm, getShow, getSimilarities, getSimilaritiesAlgorithm, getSize, getSkipCount, getSkipDate, getSortAlbum, getSortAlbumArtist, getSortArtist, getSortComposer, getSortName, getSortShow, getSpectralCentroidMean, getSpectralFluctuationPeak, getSpectralFluxMean, getSpectralNoveltyMean, getSpectralSpreadMean, getSpectralVariabilityMean, getSpectrum, getStart, getStartTime, getStopTime, getSyncTempoKey, getSyncTempoTuning, getTags, getTempo, getTempoColor, getTempoSpectrum, getTempoTimbreColor, getTimeSignature, getTimeSignatureAlgorithm, getTotalTime, getTrackCount, getTrackIds, getTrackNumber, getTrackReplayGain, getTrackType, getTuning, getTuningAlgorithm, getVolumeAdjustment, getWork, getYear, hasProtectedFileExtension, isAcousticBasedOnGenreTitleAndTags, isAlbumRatingComputed, isClean, isCompilation, isDisabled, isElectronicBasedOnGenreAndTags, isEnabled, isExplicit, isHasVideo, isHD, isPartOfGaplessAlbum, isProtected, isPurchased, isRatingComputed, isShared, isUnplayed, refreshFromFile
-
-
-
-
Method Detail
-
getImplementation
public <T> T getImplementation(Class<T> klass)
Description copied from interface:AudioSongAudioSongobjects are sometimes implemented by an object that acts as a facade to other AudioSong objects. This could be a proxy for an AppleScript iTunes object, a a persistent object that is stored in a local database via Hibernate, or perhaps an Object that is capable of writing id3 tags directly (e.g.AudioMetaData). While normal calls on an object implementing this interface are routed according to some internal logic, using one of the actual implementation classes allows you precise control over what your call does.Note to plugin developers: It is hardly ever a good idea to exercise this control, unless you know exactly what you are doing. :-)
- Specified by:
getImplementationin interfaceAudioSong- Type Parameters:
T- implementation class- Parameters:
klass- class implementing AudioSong- Returns:
- object of the desired type or
null, if such an object is not available - See Also:
PlayList.getImplementation(Class)
-
getImplementations
public List<AudioSong> getImplementations()
Description copied from interface:AudioSongReturns implementations of this interface instance.- Specified by:
getImplementationsin interfaceAudioSong- Returns:
- implementations
- See Also:
AudioSong.getImplementation(Class)
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) throws UnsupportedOperationException
Calls to this method have no effect.- Specified by:
addPropertyChangeListenerin interfaceAudioSong- Parameters:
propertyChangeListener- property change listener- Throws:
UnsupportedOperationException- if property changes notifications are not supported- See Also:
PropertyChangeSupport.addPropertyChangeListener(java.beans.PropertyChangeListener)
-
addPropertyChangeListener
public void addPropertyChangeListener(String property, PropertyChangeListener propertyChangeListener) throws UnsupportedOperationException
Calls to this method have no effect.- Specified by:
addPropertyChangeListenerin interfaceAudioSong- Parameters:
property- propertypropertyChangeListener- property change listener- Throws:
UnsupportedOperationException- if property changes notifications are not supported- See Also:
PropertyChangeSupport.addPropertyChangeListener(java.beans.PropertyChangeListener)
-
removePropertyChangeListener
public void removePropertyChangeListener(String property, PropertyChangeListener listener)
Calls to this method have no effect.- Specified by:
removePropertyChangeListenerin interfaceAudioSong- Parameters:
property- propertylistener- property change listener- See Also:
PropertyChangeSupport.removePropertyChangeListener(PropertyChangeListener)
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
Calls to this method have no effect.- Specified by:
removePropertyChangeListenerin interfaceAudioSong- Parameters:
listener- property change listener- See Also:
PropertyChangeSupport.removePropertyChangeListener(PropertyChangeListener)
-
getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners(String property)
Always returns an empty array.- Specified by:
getPropertyChangeListenersin interfaceAudioSong- Parameters:
property- property- Returns:
- empty array
- See Also:
PropertyChangeSupport.getPropertyChangeListeners(String)
-
getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners()
Always returns an empty array.- Specified by:
getPropertyChangeListenersin interfaceAudioSong- Returns:
- empty array
- See Also:
PropertyChangeSupport.getPropertyChangeListeners()
-
setMediaKind
public void setMediaKind(AudioSong.MediaKind kind)
Description copied from interface:AudioSongSet the kind of media, e.g.AudioSong.MediaKind.AUDIOBOOK.- Specified by:
setMediaKindin interfaceAudioSong- Parameters:
kind- media kind- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setName
public void setName(String name)
Description copied from interface:AudioSongSets name.- Specified by:
setNamein interfaceAudioSong- Parameters:
name- name- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDescription
public void setDescription(String description)
Description copied from interface:AudioSongSets description/subtitle.- Specified by:
setDescriptionin interfaceAudioSong- Parameters:
description- description- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setWork
public void setWork(String work)
Description copied from interface:AudioSongClassical work.- Specified by:
setWorkin interfaceAudioSong- Parameters:
work- work- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMovement
public void setMovement(String movement)
Description copied from interface:AudioSongClassical movement.- Specified by:
setMovementin interfaceAudioSong- Parameters:
movement- movement- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMovementNumber
public void setMovementNumber(int number)
Description copied from interface:AudioSongClassical movement number.- Specified by:
setMovementNumberin interfaceAudioSong- Parameters:
number- number- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMovementCount
public void setMovementCount(int count)
Description copied from interface:AudioSongClassical movement count.- Specified by:
setMovementCountin interfaceAudioSong- Parameters:
count- count- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setArtist
public void setArtist(String artist)
Description copied from interface:AudioSongSets artist.- Specified by:
setArtistin interfaceAudioSong- Parameters:
artist- artist- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setAlbumArtist
public void setAlbumArtist(String albumArtist)
Description copied from interface:AudioSongSets the album artist.- Specified by:
setAlbumArtistin interfaceAudioSong- Parameters:
albumArtist- album artist- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setComposer
public void setComposer(String composer)
Description copied from interface:AudioSongSets composer.- Specified by:
setComposerin interfaceAudioSong- Parameters:
composer- composer- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setAlbum
public void setAlbum(String album)
Description copied from interface:AudioSongSets album name.- Specified by:
setAlbumin interfaceAudioSong- Parameters:
album- album- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setGrouping
public void setGrouping(String grouping)
Description copied from interface:AudioSongSets the grouping.- Specified by:
setGroupingin interfaceAudioSong- Parameters:
grouping- grouping- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setGenre
public void setGenre(String genre)
Description copied from interface:AudioSongSets genre.- Specified by:
setGenrein interfaceAudioSong- Parameters:
genre- genre- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setKind
public void setKind(String kind)
Description copied from interface:AudioSongAllows you to store a String descriptor of the kind of audio object this is. Typically this value is read-only (withAudioSong.getKind()) and set by the music player, e.g. iTunes.- Specified by:
setKindin interfaceAudioSong- Parameters:
kind- kind- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getKind()
-
setTrackCount
public void setTrackCount(int trackCount)
Description copied from interface:AudioSongSet track count- Specified by:
setTrackCountin interfaceAudioSong- Parameters:
trackCount- track count- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setTrackNumber(int)
-
setStartTime
public void setStartTime(int startTime)
Description copied from interface:AudioSongSet start time in ms.- Specified by:
setStartTimein interfaceAudioSong- Parameters:
startTime- start time in ms- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setStopTime
public void setStopTime(int stopTime)
Description copied from interface:AudioSongSets stop time.- Specified by:
setStopTimein interfaceAudioSong- Parameters:
stopTime- stop time in ms- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setStart
public void setStart(float start)
Description copied from interface:AudioSongSets the start time in seconds.- Specified by:
setStartin interfaceAudioSong- Parameters:
start- start time in seconds- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setStartTime(int)
-
setFinish
public void setFinish(float finish)
Description copied from interface:AudioSongSets the stop time in seconds.- Specified by:
setFinishin interfaceAudioSong- Parameters:
finish- stop time in seconds- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setStopTime(int)
-
setTrackNumber
public void setTrackNumber(int trackNumber)
Description copied from interface:AudioSongSet the number of this track.- Specified by:
setTrackNumberin interfaceAudioSong- Parameters:
trackNumber- track number- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDiscNumber
public void setDiscNumber(int discNumber)
Description copied from interface:AudioSongSets the disc number.- Specified by:
setDiscNumberin interfaceAudioSong- Parameters:
discNumber- disc number- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDiscCount
public void setDiscCount(int discCount)
Description copied from interface:AudioSongSet disc count.- Specified by:
setDiscCountin interfaceAudioSong- Parameters:
discCount- disc count- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setYear
public void setYear(int year)
Description copied from interface:AudioSongSets the year.- Specified by:
setYearin interfaceAudioSong- Parameters:
year- year- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getYear(),AudioSong.getReleaseDate()
-
setVolumeAdjustment
public void setVolumeAdjustment(int volumeAdjustment)
Description copied from interface:AudioSongSets the volume adjustment- Specified by:
setVolumeAdjustmentin interfaceAudioSong- Parameters:
volumeAdjustment- value between -255 and 255.- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTrackReplayGain
public void setTrackReplayGain(ReplayGain replayGain, boolean updateITunNorm)
Description copied from interface:AudioSongSets the replay gain for this track, not taking other tracks of the album into account.- Specified by:
setTrackReplayGainin interfaceAudioSong- Parameters:
replayGain- replay gainupdateITunNorm- update the iTunNorm field with the given value- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getTrackReplayGain(),AudioSong.getAlbumReplayGain()
-
setAlbumReplayGain
public void setAlbumReplayGain(ReplayGain replayGain, boolean updateITunNorm)
Description copied from interface:AudioSongSets the replay gain for this album.- Specified by:
setAlbumReplayGainin interfaceAudioSong- Parameters:
replayGain- replay gainupdateITunNorm- update the iTunNorm field with the given value- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getAlbumReplayGain()
-
setComments
public void setComments(String comments)
Description copied from interface:AudioSongSet comments.- Specified by:
setCommentsin interfaceAudioSong- Parameters:
comments- comments- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setPlayCount
public void setPlayCount(int playCount)
Description copied from interface:AudioSongSet play count.- Specified by:
setPlayCountin interfaceAudioSong- Parameters:
playCount- play count- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setPlayDate
public void setPlayDate(long playDate)
Description copied from interface:AudioSongSet play date in milliseconds since January 1, 1970, 00:00:00 GMT (NOT related to the iTunes value!).- Specified by:
setPlayDatein interfaceAudioSong- Parameters:
playDate- play date- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setPlayDateUTC
public void setPlayDateUTC(Date playDateUTC)
Description copied from interface:AudioSongSet play time.- Specified by:
setPlayDateUTCin interfaceAudioSong- Parameters:
playDateUTC- play time- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDateAnalyzed
public void setDateAnalyzed(Date date)
Description copied from interface:AudioSongSets the date this song was last analyzed.- Specified by:
setDateAnalyzedin interfaceAudioSong- Parameters:
date- date of last analysis- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSkipCount
public void setSkipCount(int skipCount)
Description copied from interface:AudioSongSet skip count.- Specified by:
setSkipCountin interfaceAudioSong- Parameters:
skipCount- skip count- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSkipDate
public void setSkipDate(Date skipDate)
Description copied from interface:AudioSongSet skip date.- Specified by:
setSkipDatein interfaceAudioSong- Parameters:
skipDate- skip date- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setReleaseDate
public void setReleaseDate(Date releaseDate)
Description copied from interface:AudioSongSet release date.- Specified by:
setReleaseDatein interfaceAudioSong- Parameters:
releaseDate- release date- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCustom1
public void setCustom1(String value)
Description copied from interface:AudioSongCustom field.- Specified by:
setCustom1in interfaceAudioSong- Parameters:
value- custom field value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCustom2
public void setCustom2(String value)
Description copied from interface:AudioSongCustom field.- Specified by:
setCustom2in interfaceAudioSong- Parameters:
value- custom field value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCustom3
public void setCustom3(String value)
Description copied from interface:AudioSongCustom field.- Specified by:
setCustom3in interfaceAudioSong- Parameters:
value- custom field value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCustom4
public void setCustom4(String value)
Description copied from interface:AudioSongCustom field.- Specified by:
setCustom4in interfaceAudioSong- Parameters:
value- custom field value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCustom5
public void setCustom5(String value)
Description copied from interface:AudioSongCustom field.- Specified by:
setCustom5in interfaceAudioSong- Parameters:
value- custom field value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setLiking
public void setLiking(AudioSong.Liking liking)
Description copied from interface:AudioSongSet liking.- Specified by:
setLikingin interfaceAudioSong- Parameters:
liking- liking- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setAlbumLiking
public void setAlbumLiking(AudioSong.Liking liking)
Description copied from interface:AudioSongSet album liking.- Specified by:
setAlbumLikingin interfaceAudioSong- Parameters:
liking- liking- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRating
public void setRating(int rating)
Description copied from interface:AudioSongSets the rating- Specified by:
setRatingin interfaceAudioSong- Parameters:
rating- rating between from 0 to 100- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getRating()
-
setAlbumRating
public void setAlbumRating(int albumRating)
Description copied from interface:AudioSongSets album rating.- Specified by:
setAlbumRatingin interfaceAudioSong- Parameters:
albumRating- album rating- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setShow
public void setShow(String show)
Description copied from interface:AudioSongSet show name.- Specified by:
setShowin interfaceAudioSong- Parameters:
show- show- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSeason
public void setSeason(int season)
Description copied from interface:AudioSongSet season.- Specified by:
setSeasonin interfaceAudioSong- Parameters:
season- season- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setEpisode
public void setEpisode(String episode)
Description copied from interface:AudioSongSet episode name.- Specified by:
setEpisodein interfaceAudioSong- Parameters:
episode- episode name- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setEpisodeOrder
public void setEpisodeOrder(int episodeOrder)
Description copied from interface:AudioSongSet episode order.- Specified by:
setEpisodeOrderin interfaceAudioSong- Parameters:
episodeOrder- episode order- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setCompilation
public void setCompilation(boolean compilation)
Description copied from interface:AudioSongMarks this song as part of a compilation (or not).- Specified by:
setCompilationin interfaceAudioSong- Parameters:
compilation-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setEnabled
public void setEnabled(boolean enabled)
Description copied from interface:AudioSongEnables/disables this song.- Specified by:
setEnabledin interfaceAudioSong- Parameters:
enabled-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDisabled
public void setDisabled(boolean disabled)
Description copied from interface:AudioSongEnables/disables this song.- Specified by:
setDisabledin interfaceAudioSong- Parameters:
disabled-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setUnplayed
public void setUnplayed(boolean unplayed)
Description copied from interface:AudioSongSets unplayed.- Specified by:
setUnplayedin interfaceAudioSong- Parameters:
unplayed- unplayed- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTrackType
public void setTrackType(AudioSong.TrackType trackType)
Description copied from interface:AudioSongField used by iTunes - typicallyAudioSong.TrackType.FILEfor files andAudioSong.TrackType.URLfor.. well, guess what?! Typically you don't set this field manually.- Specified by:
setTrackTypein interfaceAudioSong- Parameters:
trackType- track type- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getTrackType()
-
setClean
public void setClean(boolean clean)
Description copied from interface:AudioSongSets the "clean" flag. "Clean" and "explicit" are mutually exclusive.- Specified by:
setCleanin interfaceAudioSong- Parameters:
clean-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setExplicit(boolean)
-
setHasVideo
public void setHasVideo(boolean hasVideo)
Description copied from interface:AudioSongSets the "video" flag.- Specified by:
setHasVideoin interfaceAudioSong- Parameters:
hasVideo-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setLocation
public void setLocation(String location)
Description copied from interface:AudioSongSets the location.- Specified by:
setLocationin interfaceAudioSong- Parameters:
location- location- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setPartOfGaplessAlbum
public void setPartOfGaplessAlbum(boolean partOfGaplessAlbum)
Description copied from interface:AudioSongSets the "gapless album" flag.- Specified by:
setPartOfGaplessAlbumin interfaceAudioSong- Parameters:
partOfGaplessAlbum-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setExplicit
public void setExplicit(boolean explicit)
Description copied from interface:AudioSongSets the "explicit" flag. "Clean" and "explicit" are mutually exclusive.- Specified by:
setExplicitin interfaceAudioSong- Parameters:
explicit-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setClean(boolean)
-
setHD
public void setHD(boolean hd)
Description copied from interface:AudioSongSets the HD flag.- Specified by:
setHDin interfaceAudioSong- Parameters:
hd-trueorfalse- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortArtist
public void setSortArtist(String sortArtist)
Description copied from interface:AudioSongSets the sort artist.- Specified by:
setSortArtistin interfaceAudioSong- Parameters:
sortArtist- sort artist- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortAlbum
public void setSortAlbum(String sortAlbum)
Description copied from interface:AudioSongSets the sort album.- Specified by:
setSortAlbumin interfaceAudioSong- Parameters:
sortAlbum- sort album- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortName
public void setSortName(String sortName)
Description copied from interface:AudioSongSets the sort name.- Specified by:
setSortNamein interfaceAudioSong- Parameters:
sortName- sort name- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortAlbumArtist
public void setSortAlbumArtist(String sortAlbumArtist)
Description copied from interface:AudioSongSets the sort album artist.- Specified by:
setSortAlbumArtistin interfaceAudioSong- Parameters:
sortAlbumArtist- sort album artist- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortComposer
public void setSortComposer(String sortComposer)
Description copied from interface:AudioSongSets the sort composer.- Specified by:
setSortComposerin interfaceAudioSong- Parameters:
sortComposer- sort composer- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSortShow
public void setSortShow(String sortShow)
Description copied from interface:AudioSongSets the sort show.- Specified by:
setSortShowin interfaceAudioSong- Parameters:
sortShow- sort show- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setContentRating
public void setContentRating(String contentRating)
Description copied from interface:AudioSongSets the content rating.- Specified by:
setContentRatingin interfaceAudioSong- Parameters:
contentRating- content rating- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setBeatsPerMinute
public void setBeatsPerMinute(float bpm)
Description copied from interface:AudioSongSets beats per minute.- Specified by:
setBeatsPerMinutein interfaceAudioSong- Parameters:
bpm- beats per minute- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setTempo(com.tagtraum.audiokern.bpm.Tempo)
-
setTempo
public void setTempo(com.tagtraum.audiokern.bpm.Tempo tempo)
Description copied from interface:AudioSongSets the tempo.- Specified by:
setTempoin interfaceAudioSong- Parameters:
tempo- tempo- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTags
public void setTags(Set<String> tags)
Description copied from interface:AudioSongSets a new set of tags.- Specified by:
setTagsin interfaceAudioSong- Parameters:
tags- set of strings- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setKey
public void setKey(Key key)
Description copied from interface:AudioSongSets the tonal key.- Specified by:
setKeyin interfaceAudioSong- Parameters:
key- tonal key key- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setKeyAlgorithm(String)
-
setKeyAlgorithm
public void setKeyAlgorithm(String keyAlgorithm)
Description copied from interface:AudioSongSet the key algorithm. Should beEntered, if the value was entered manually.- Specified by:
setKeyAlgorithmin interfaceAudioSong- Parameters:
keyAlgorithm- key algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSpectrum
public void setSpectrum(com.tagtraum.audiokern.timbre.BarkSpectrum spectrum)
Description copied from interface:AudioSongSets the bark spectrum.- Specified by:
setSpectrumin interfaceAudioSong- Parameters:
spectrum- bark spectrum- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setColor
public void setColor(Color color)
Description copied from interface:AudioSongSets the color.- Specified by:
setColorin interfaceAudioSong- Parameters:
color- color- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTempoColor
public void setTempoColor(Color value)
Description copied from interface:AudioSongSets this song's tempo color.- Specified by:
setTempoColorin interfaceAudioSong- Parameters:
value- color
-
setTempoTimbreColor
public void setTempoTimbreColor(Color value)
Description copied from interface:AudioSongSets this song's tempo-timbre color.- Specified by:
setTempoTimbreColorin interfaceAudioSong- Parameters:
value- color
-
setTempoSpectrum
public void setTempoSpectrum(com.tagtraum.audiokern.bpm.TempoSpectrum value)
Description copied from interface:AudioSongSets the tempo spectrum.- Specified by:
setTempoSpectrumin interfaceAudioSong- Parameters:
value- tempo spectrum
-
setBeatsPerMinuteAlgorithm
public void setBeatsPerMinuteAlgorithm(String bpmAlgorithm)
Description copied from interface:AudioSongSets the BPM algorithm.- Specified by:
setBeatsPerMinuteAlgorithmin interfaceAudioSong- Parameters:
bpmAlgorithm- bpm algorithm name- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setLanguage
public void setLanguage(String language)
Description copied from interface:AudioSongSets the language as ISO 639 three letter code.- Specified by:
setLanguagein interfaceAudioSong- Parameters:
language- ISO 639 three letter code- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setFingerprint
public void setFingerprint(byte[] fingerprint)
Description copied from interface:AudioSongSets the acoustic fingerprint.- Specified by:
setFingerprintin interfaceAudioSong- Parameters:
fingerprint- fingerprint- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMoodKeywords
public void setMoodKeywords(Set<String> moodKeywords)
Description copied from interface:AudioSongAttempt to store the raw mood keywords- Specified by:
setMoodKeywordsin interfaceAudioSong- Parameters:
moodKeywords- mood keywords- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setLyrics
public void setLyrics(String lyrics)
Description copied from interface:AudioSongSets lyrics.- Specified by:
setLyricsin interfaceAudioSong- Parameters:
lyrics- lyrics- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTuning
public void setTuning(Integer tuning)
Description copied from interface:AudioSongSets tuning in cents (+-50).- Specified by:
setTuningin interfaceAudioSong- Parameters:
tuning- in cents- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTuningAlgorithm
public void setTuningAlgorithm(String tuningAlgorithm)
Description copied from interface:AudioSongSets the tuning algorithm the current tuning value was computed with.- Specified by:
setTuningAlgorithmin interfaceAudioSong- Parameters:
tuningAlgorithm- tuning algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDanceability
public void setDanceability(Float danceability)
Description copied from interface:AudioSongDanceability.- Specified by:
setDanceabilityin interfaceAudioSong- Parameters:
danceability- normalized positive value (0-1)- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setDanceabilityAlgorithm
public void setDanceabilityAlgorithm(String danceabilityAlgorithm)
Description copied from interface:AudioSongSet the danceability algorithm. Should beEntered, if the value was entered manually.- Specified by:
setDanceabilityAlgorithmin interfaceAudioSong- Parameters:
danceabilityAlgorithm- danceability algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setInstrumentation
public void setInstrumentation(AudioSong.Instrumentation instrumentation)
Description copied from interface:AudioSongSets the instrumentation property.- Specified by:
setInstrumentationin interfaceAudioSong- Parameters:
instrumentation- instrumentation- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setInstrumentationAlgorithm
public void setInstrumentationAlgorithm(String instrumentationAlgorithm)
Description copied from interface:AudioSongSet the instrumentation algorithm. Should beEntered, if the value was entered manually.- Specified by:
setInstrumentationAlgorithmin interfaceAudioSong- Parameters:
instrumentationAlgorithm- instrumentation algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMood
public void setMood(Mood mood)
Description copied from interface:AudioSongSets this song's mood.- Specified by:
setMoodin interfaceAudioSong- Parameters:
mood- mood- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setMoodAlgorithm
public void setMoodAlgorithm(String moodAlgorithm)
Description copied from interface:AudioSongSets the method the current mood value was created with.- Specified by:
setMoodAlgorithmin interfaceAudioSong- Parameters:
moodAlgorithm- mood algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTimeSignature
public void setTimeSignature(TimeSignature timeSignature)
Description copied from interface:AudioSongSets this song's time signature.- Specified by:
setTimeSignaturein interfaceAudioSong- Parameters:
timeSignature- time signature- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setTimeSignatureAlgorithm
public void setTimeSignatureAlgorithm(String timeSignatureAlgorithm)
Description copied from interface:AudioSongSets the algorithm the time signature was computed with.- Specified by:
setTimeSignatureAlgorithmin interfaceAudioSong- Parameters:
timeSignatureAlgorithm- time signature algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setBeats
public void setBeats(Beats beats)
Description copied from interface:AudioSongSets this song's beats.- Specified by:
setBeatsin interfaceAudioSong- Parameters:
beats- beats- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setBeatsAlgorithm
public void setBeatsAlgorithm(String beatsAlgorithm)
Description copied from interface:AudioSongSets the algorithm the beats were computed with.- Specified by:
setBeatsAlgorithmin interfaceAudioSong- Parameters:
beatsAlgorithm- beats algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSegments
public void setSegments(Segments segments)
Description copied from interface:AudioSongSets this song's segments.- Specified by:
setSegmentsin interfaceAudioSong- Parameters:
segments- segments- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSegmentsAlgorithm
public void setSegmentsAlgorithm(String segmentsAlgorithm)
Description copied from interface:AudioSongSets the algorithm the segments were computed with.- Specified by:
setSegmentsAlgorithmin interfaceAudioSong- Parameters:
segmentsAlgorithm- segments algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSimilarities
public void setSimilarities(Similarities similarities)
Description copied from interface:AudioSongSets this song's similarities.- Specified by:
setSimilaritiesin interfaceAudioSong- Parameters:
similarities- similarities- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSimilaritiesAlgorithm
public void setSimilaritiesAlgorithm(String similaritiesAlgorithm)
Description copied from interface:AudioSongSets the algorithm the similarities were computed with.- Specified by:
setSimilaritiesAlgorithmin interfaceAudioSong- Parameters:
similaritiesAlgorithm- similarities algorithm- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setLoudness
public void setLoudness(Loudness loudness)
Description copied from interface:AudioSongSets this song's loudness curve.- Specified by:
setLoudnessin interfaceAudioSong- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRMSMean
public void setRMSMean(Float average)
Description copied from interface:AudioSongSets the average RMS for the first 120 seconds of this song.- Specified by:
setRMSMeanin interfaceAudioSong- Parameters:
average- averaged RMS- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getRMSMean()
-
setRMSStandardDeviation
public void setRMSStandardDeviation(Float standardDeviation)
Description copied from interface:AudioSongSets the standard deviation of the root mean square (RMS).- Specified by:
setRMSStandardDeviationin interfaceAudioSong- Parameters:
standardDeviation- standard deviation of the RMS/window- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setSpectralCentroidMean
public void setSpectralCentroidMean(Float average)
Description copied from interface:AudioSongSets the mean of the spectral centroids.- Specified by:
setSpectralCentroidMeanin interfaceAudioSong- Parameters:
average- averaged spectral centroids- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralCentroidMean()
-
setSpectralSpreadMean
public void setSpectralSpreadMean(Float average)
Description copied from interface:AudioSongSets the average spectral spread.- Specified by:
setSpectralSpreadMeanin interfaceAudioSong- Parameters:
average- average spectral spread- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralSpreadMean()
-
setRelativeSpectralEntropyMean
public void setRelativeSpectralEntropyMean(Float average)
Description copied from interface:AudioSongSets the average relative spectral entropy.- Specified by:
setRelativeSpectralEntropyMeanin interfaceAudioSong- Parameters:
average- average- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getRelativeSpectralEntropyMean()
-
setSpectralNoveltyMean
public void setSpectralNoveltyMean(Float average)
Description copied from interface:AudioSongSets the average spectral novelty.- Specified by:
setSpectralNoveltyMeanin interfaceAudioSong- Parameters:
average- average- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralNoveltyMean()
-
setSpectralFluctuationPeak
public void setSpectralFluctuationPeak(Float peak)
Description copied from interface:AudioSongPeak of the spectral fluctuation values computed for windows of length 23.22ms, with a hopsize of half a window. Only the first 120 seconds of the signal are considered, the rest is discarded.- Specified by:
setSpectralFluctuationPeakin interfaceAudioSong- Parameters:
peak- peak in an averaged fluctuation spectrum- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralFluctuationPeak()
-
setSpectralFluxMean
public void setSpectralFluxMean(Float averageSpectralFlux)
Description copied from interface:AudioSongSets the mean spectral flux.- Specified by:
setSpectralFluxMeanin interfaceAudioSong- Parameters:
averageSpectralFlux- average spectral flux- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralFluxMean()
-
setSpectralVariabilityMean
public void setSpectralVariabilityMean(Float averageSpectralVariability)
Description copied from interface:AudioSongSets the mean spectral variability.- Specified by:
setSpectralVariabilityMeanin interfaceAudioSong- Parameters:
averageSpectralVariability- average spectral variability- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getSpectralVariabilityMean()
-
addArtwork
public void addArtwork(AudioArtwork audioArtwork)
Description copied from interface:AudioSongAdds an artwork/image to the audio song.- Specified by:
addArtworkin interfaceAudioSong- Parameters:
audioArtwork- artwork- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setFrontCoverArtwork
public void setFrontCoverArtwork(File... frontCover)
Description copied from interface:AudioSongReplace all front covers with the given files.- Specified by:
setFrontCoverArtworkin interfaceAudioSong- Parameters:
frontCover- front cover- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setBackCoverArtwork(java.io.File...)
-
setBackCoverArtwork
public void setBackCoverArtwork(File... backCover)
Description copied from interface:AudioSongReplace all back covers with the given files.- Specified by:
setBackCoverArtworkin interfaceAudioSong- Parameters:
backCover- back cover- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.setFrontCoverArtwork(java.io.File...)
-
setArtworks
public void setArtworks(AudioArtwork... artworks)
Description copied from interface:AudioSongSet artworks belonging to this track.- Specified by:
setArtworksin interfaceAudioSong- Parameters:
artworks- artworks- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRemoteUpdateDate
public void setRemoteUpdateDate(Date date)
Description copied from interface:AudioSongSets the date that marks the last update of remote properties. This method is usually called by the app, not the user or any user/plugin code.- Specified by:
setRemoteUpdateDatein interfaceAudioSong- Parameters:
date- date- Throws:
UnsupportedOperationException- as this implementation is read-only- See Also:
AudioSong.getRemoteUpdateDate()
-
setRemoteRating
public void setRemoteRating(int value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setRemoteRatingin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setPopularity
public void setPopularity(float value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setPopularityin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRemotePlayFrequency
public void setRemotePlayFrequency(float value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setRemotePlayFrequencyin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRemotePlaySkipRatio
public void setRemotePlaySkipRatio(float value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setRemotePlaySkipRatioin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRemoteLoved
public void setRemoteLoved(float value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setRemoteLovedin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
setRemoteDisliked
public void setRemoteDisliked(float value)
Description copied from interface:AudioSongSets the value locally. In other words, the value is not propagated to the central database.- Specified by:
setRemoteDislikedin interfaceAudioSong- Parameters:
value- value- Throws:
UnsupportedOperationException- as this implementation is read-only
-
-