search for: albums

Displaying 20 results from an estimated 831 matches for "albums".

Did you mean: album
2006 Jan 21
9
Where to put method
I''ve got following code in GenresHelper.rb def album_list(genre) albums = genre.albums.sort list = albums.collect { |album| link = link_to album.title, :controller => ''albums'', :action => ''show'',...
2008 Jan 10
4
Mocking and stubbing Rails'' association extensions
I''m having a lot of trouble stubbing out an association extension for some view tests. Example rails code modeling a music album: class Album < ActiveRecord::Base has_many :songs do def streamable find(:all, :conditions => ''streamable = 1'') end end end So for a given Album instance (say @album), I need to be able to stub both
2006 Jan 10
1
[AJAX] related drop-down list question
Hi all, I followed the example on: http://www.roryhansen.ca/?p=9 for creating related drop-down lists. However, this code actually creates HTML in the controller component: @albums = Album.find_all_by_artist_id(@params["artist_id"]) @html = "<select id=''album_id'' name=''album_id''>" @html += "<option value=''''>No Album</option>" @albums.each do |@album| @html += "<opt...
2004 Sep 10
1
[Flac-users] Grip, FLAC, and album replay gain
OK, here's a problem: I want to set the album replay gain in each track, but I'm using grip to rip and encode the tracks one by one. grip knows that all the tracks are on a single album, but FLAC sees them one at a time. I put the --replay-gain option on the FLAC command line, so it emits four comments into the vorbis commebnt block, e.g.: comment[9]:
2006 May 31
7
Rails, Transactions, and statements
Hi, I have a problem where I need an auto-incremented id back from the database for a statement that has yet to be committed. The operation that uses the id may fail, and if so, I need to rollback the database. I can''t figure out how to send only the statement to the database without the commit without sending over hard coded SQL. This is what I started out with: 1 def add_album
2017 Jun 07
0
Sending artist - title - album metadata
Another correspondent here has pointed out that: > Recently Stream Licensing LLC has changed their requirements so that > streaming internet stations in the US must stream the album [name] > along with the song title and artist. We are also in this particular boat. We are using Centova Cast which uses Liquidsoap as its AutoDJ and Centova say that if the album tag is stored in the file
2009 Dec 30
3
flac --replay-gain
I have FLAC files that I would like to re-encode with --replay-gain. I have my Flac's organized in Artist/Album folders, so I should have no problem getting an album gain/peak per album. Do I need to first de-code the flac's to wav files and then "flac --replay-gain *.wav", or can this be accomplished by going to each Album directory and "flac -f --replay-gain
2006 Feb 23
7
How to set a relationship with a value from a selection list
...pp and running into this problem. I''m trying to write a photoblog application. I have a photo table and an album table. Photo has a to-one relationship to Album. Photo.album_id => Album.id In my view for photo I have a selection list that''s populated with all the available albums. <%= select("post", "album_id", Album.find_all.collect {|a| [a.name, a.id]}, {:include_blank => true}) %> This work in so much as I can see the albums being listed in the selection list. Then in my photo_controller I''m trying to set the relationship when th...
2013 May 08
1
Using koala get facebook albums photos
Hi Folks, Good day, I need to display my facebook album photos in my application. I used *Koala *for facebook API. I used this query for getting my album photos, *current_user.facebook.get_connection("me","albums")* by using this i can get only the albums details. *"I need my photos which i upload in facebook "* * * Please advise. Thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and...
2008 Oct 13
10
Album art - requirements
Hi, there was a thread a few months ago about album art, and how to embed it in an Ogg stream. The outcome was unconclusive, and kind of settled on the existing practice of adding a uuencoded image in a Vorbis comment, or similar. A better solution would be to embed those images as a separate stream, including hints as to what image represents (front cover, back cover, etc). The obvious
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very simple mysql functions. Basically I''ve got a few tables, ex: Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name) I want to search through both album.name, band.name, and label.name throwing all results into a variable, with no redundant info. I think what I need to be doing is setting up some foreign key relationships. I am on the right tra...
2008 Jun 02
3
Adviced way of tagging music
...le would be useless and so on. After some thinking I came to position when it seemed obvious for me that what is required is an explicit separation of tags on CD (its releases date, publisher, title and so on) and tags on work (its title, composer and so on). For typical modern single-artist albums those data would be the same in many places. However classical CD (and compositions like "Hits of Summer 2008") could benefit much from this. Is anything already done on this field? Or is anything in progress? What are advised ways of dealing with this kind of problem? Adam B...
2008 Feb 11
2
Replay-gain
On Monday 11 February 2008 05:04:25 Pyt wrote: > Can you elaborate on what you mean by "correctly use" ? > > On Feb 11, 2008 1:03 AM, Christopher Brown <c-b@asu.edu> wrote: > > Is there a way to correctly use the replay-gain feature on flac files > > that contain an entire album (i.e., multiple tracks with seekpoints added > > from a > > cue sheet)?
2017 May 10
4
max size for album art?
Is there any size limitation for album art? I have a user who says adding large artwork (from a scanner) is corrupting the file metadata. I don't know if this is a flac limitation, a tag lib issue, or something I'm doing. Thanks, Scott -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Oct 17
1
Album art - requirements
Hi, [ Was away the last few days, so this partly overlaps on things that that have been mentioned in this thread. Since the consensus seems that Vorbis comment encoding is the way to go, it's a bit moot, but here it is anyway ] Following up on the possibility to tag various images as different types of album art, I thought of adding that tagging information in a Skeleton stream. Since
2005 Jun 21
2
Playback + Replay Gain questions
Thanks! You've been most informative. Do the command line options vary for album and track or is the album gain computed automatically if it's done on a batch of files? You Wrote: > > there are two tags for replaygain, the 'album' tag which applies > to the whole album, and 'track' tag for each track.
2006 Jan 03
1
Passing parameters with link_to
I have following code in my controller: class AlbumsController < ApplicationController def list_by_year(year) @album_pages @albums = paginate :albums, { :per_page => 10, :conditions => ["year = ?", year] } render :action => ''list'' end end Now I wa...
2010 Aug 08
1
help me
i am creating an aplication where table name albums width attributes CREATE TABLE albums ( id int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '''', artist_old varchar(255) NOT NULL default '''', release_date datetime NOT NULL default ''0000-00-00 00:00:00'', genre varchar(50) NOT...
2004 Sep 10
5
new CUESHEET metadata block
--- smoerk <smoerk@gmx.de> wrote: > good idea, i'm always putting *.cue files to the directory with the > ripped audio files. but it would prefer one file per song and not one > big file for the whole cd. My vision of how the players should work is this: - make one album.flac with CUESHEET - player loads album.flac, sees CUESHEET, calculates CDDB id (or CDindex, or custom
2007 May 12
4
help, 1 error(s) on assignment of multiparameter attributes
Hi everyone! I just started learning Ruby on Rails about a week ago for a school project, and can''t seem to find a solution for something. I have this inside the form inside of edit_albums.rhtml: <%= start_form_tag :action=>''proccess_edit_album'', :id=>@album.id %> .... Release Date: <%= datetime_select(:album, :release_date, :start_year => 1960) %><br /> .... and inside the controller: def edit_album @album = Album.find(params['...