Displaying 20 results from an estimated 30000 matches similar to: "Active Record Delete if not in"
2014 Feb 03
1
get current song
> I'd try out browser playback. Works very well for ogg/vorbis and should
> also start working for opus streams on most browsers now.
> There is a javascript api to get metadata.
Thank you. I will try.
Can you point me to that "javascript api to get metadata" -- I have no idea
where to start.
CK
On Mon, Feb 3, 2014 at 2:50 PM, "Thomas B. R?cker" <thomas at
2014 Feb 03
2
get current song
Hi,
I use dynamic playlist, so do not have static list of files. I sream
this play list on my mage via simple flash player,
and show this playlist in this page with ajax-ed javascript.
Here is question.
I need to get current song,
but when I ask icecast server I get wrong information. Sometimes song
is still playing,
but info from server is updated to next track. I have many short
(3-5-10
2007 Dec 10
3
Popup Window
Hey!
I would need a popup window like this (not necessarily associated to a
taskbaricon):
http://www.venraiker.com/wp-content/uploads/2006/03/libnotifyvx.png
I should be possible to show such a window for a certain time,
displaying a certain message.
Is a similar thing possible with wx? Are there oder options?
thx ck
--
Posted via http://www.ruby-forum.com/.
2006 Feb 08
2
trouble inserting rows
hey all,
i''m a newbie to ruby & rails -> apologies in advance for the length of
this post &/or anything particularly lame about it ;)
i''m trying to grab form POST data that''s packaged in a hash of hashes...
<!-- isactive -->
<input type=hidden
id="song[<%= file[ :seq ] %>][isactive]"
2007 Nov 22
2
Active Record Question
hey!
I have the following table structure in my DB
| users |
------------
| (pk)id |
| username |
| pass |
------------
(1:n)
| users_objects | | objectattributes |
------------------ ----------------------------------
| (fk,pk)user_id | (1:n) | (pk)attribute |
|(fk,pk)object_id| | (pk,fk)
2005 Sep 16
0
Max value for table having 2 joins
Hello there,
I''m stuck! I''m trying to write a mini app to track versions of songs that
have been sent out to members.
I have the following tables/models:
songs/song
has_many :releases
versions/version
has_and_belongs_to_many :members
belongs_to :songs
members/member
has_and_belongs_to_many :versions
songs
=====
Song1
Song2
Song3
members
=======
John
Paul
George
Ringo
2006 Jun 09
0
Calculations based on multiple tables
Hi there,
I''m trying to grab all the contest_entries from a particular contest, and
then grab all the appropriate contest_ratings associated with the songs and
contest. The end result is an average score for each song involved in each
contest.
I made an ERD of my table structure which can be found at:
http://antrover.com/erd/contest_question.jpg
Here''s my model structure:
2006 Apr 08
1
help : uninitialized constant Song
Hi,
I''m facing the following issue.
I have a class A in that i tried instantiating another class B.
but got uninitialized constant B error..Any idea how to over come this.
Here is my code.
--------------------
class SongList
#initialize the array
def initialize
@songs=Array.new
end
def aSong(aSong)
@songs.push(aSong)
self
end
2012 Mar 07
5
cannot enable "AllwaysOffscreen"
In past i had Problems i solved with setting "AllwaysOffscreen" to enabled.
Now the problems are back, but i didnt changed anything to my wine-system, registry key is also still activated.
core 2 duo
gts250
wine 1.4rc6
Arch linux with ck-kernel (ck-corex and ck-corex-nvidia)
2005 Oct 13
2
what should i select ??????????
hy all
actually i want to have a setup of five offices having round about 200 extensions ( each office having 35 to 45 ) which will be connected through asterisk.
now either i should go for voip phones( hard phones ). or use any interface card to asterisk server to which the analogue phones will be connected.
----- if i use analogue phones in the above case ( we have analogue phones already )
2004 Sep 10
1
xmms-plugin problem
ok,
I tried a few songs and it seems to me, that the seek problem appears
only with some songs. Also I have songs where is no problem.
Josh, should I mail you a problematic song?
Jan
On Tuesday, 15. January 2002 15:38, you wrote:
> --- Jan Suhr <jan.suhr@freenet.de> wrote:
> > hello!
> > I use flac 1.0.2 with xmms 1.2.5 . The problem appears when I use
> > the scroll
2011 Feb 24
1
Rails 3 save parent model and association if nested attributes validation fails for uniqueness
Hi,
Song
has_and_belongs_to_many :people
accepts_nested_attributes_for :people
Person
validates :uniqueness => true
If person record not present, nested attributes working great! in rails way.
i.e., inserting into songs, people and people_songs table correctly.
I am interested in:-
*If there is person exist, it should skip insertion into people table but
data should be inserted in songs and
2017 Mar 03
0
Icecast status-json.xsl improvements
Hi, thanks for your e-mail and detailed description.
On 3 Mar 2017, at 12:51, Roger Hågensen wrote:
> While http://127.0.0.1:8000/status-json.xsl?mount=/live
> is fine for info on the server itself and the current track played
> it's missing a played history.
>
>
> I'd like to suggest adding history to status-json.xsl or to reduce the
> size of the json to the
2010 Nov 07
1
creating a scale (factor) based on a continuous variable nested within levels of factor
Hello R-helpers
I hope that my subject line is not detering anyone from helping me out:)
I have been stuck of a few hours now, and I don't seem to pinpoint
where the problem is.
I have a data.frame which is structured as follow:
str(hDatPretty)
'data.frame': 1665 obs. of ?8 variables:
$ time ? ?: num ?0 1.02 2.05 3.07 4.09 ...
$ hr ? ? ?: num ?62.4 63.6 64.6 65.5 66.2 ...
$ emg ? ?
2007 Sep 10
0
playlist generator
Hi,
I've been doing some scripts to generate playlist through some rulesets
They are written in php, but run from the command line.
I've used em with ices and sc_trans
the script takes an xml configuration file with a list of folders,
each with some priority, and makes a shuffled playlist with songs
from higher priority folder having more chances to play than others.
I put very high
2004 Aug 06
0
Applying dynamic compression to live audio
> On Thu, 4 Apr 2002, Jack Moffitt wrote:
>
> > While dynamic compression makes the transmission 'smaller' on FM radio,
> > it makes music harder to compress by psychoacoustic codecs, and therefor
> > you might have somewhat of a quality hit, although I haven't tested
> > this.
>
> Quite possible, though I'm only using 56kbps 22khz stereo
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
2004 Aug 06
0
AW: AW: final question: how many mountpoints can icecast handle ?
Hi,
On Wed, 7 Nov 2001, Andreas Gunzenhauser wrote:
> damn, I was afraid of that, but thanks for lightening me up
> (although I am in complete darkness now, after having seen
> the light just some days ago..)
>
> I'm looking into http streaming of the static files just now,
> but I came to find that there is one huge drawback:
>
> 1. when sending the stream out
2017 Mar 03
2
Icecast status-json.xsl improvements
While http://127.0.0.1:8000/status-json.xsl?mount=/live
is fine for info on the server itself and the current track played it's
missing a played history.
I'd like to suggest adding history to status-json.xsl or to reduce the
size of the json to the bare minimum that a Web base mediaplayer might need
Add a new one at http://127.0.0.1:8000/playing-json.xsl?mount=/live
Which will only
2007 Jan 06
1
Hosting Music for Free
I would like to be able to host music not by myself for free. The only
problem is, I can't find a place that will do it. When I want to share a
song with a forum, I am currently forced to use RapidShare, MegaUpload, or
UploadingIt, all of which causes problems for somebody. I would like to be
able to host a song, have a link to click on it, and it doesn't have to be
downloaded and cause